Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart > drawDoughnutHole 관련 에러로그 발생 #1121

Closed
jhee564 opened this issue Apr 6, 2022 · 0 comments
Closed

Chart > drawDoughnutHole 관련 에러로그 발생 #1121

jhee564 opened this issue Apr 6, 2022 · 0 comments

Comments

@jhee564
Copy link
Collaborator

jhee564 commented Apr 6, 2022

차트 크기가 사용자가 입력한 padding 값 보다 작을 경우 차트의 width, height 중 음수가 되는 경우가 발생하고 canvas에서 에러로그를 발생시킴

jhee564 added a commit that referenced this issue Apr 6, 2022
###################################
1. Pie 차트를 그릴때 width 혹은 height이 0보다 작은 경우 로직을 수행하지 않도록 예외 처리
jhee564 added a commit that referenced this issue Apr 6, 2022
###################################
1. chartWidth 혹은 chartHeight 값이 NaN으로 계산될 경우를 대비한 예외 처리 추가
kdeun1 pushed a commit that referenced this issue Apr 6, 2022
Co-authored-by: jinhee park <jinhee@ex-em.com>
@jhee564 jhee564 closed this as completed Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant