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

Pie Chart #31

Open
gaurav0497 opened this issue Jan 15, 2022 · 1 comment
Open

Pie Chart #31

gaurav0497 opened this issue Jan 15, 2022 · 1 comment

Comments

@gaurav0497
Copy link

gaurav0497 commented Jan 15, 2022

While using piechart if we provide 0,0 value in series it crashes application.

Try :
series={[0,0,0]}

@aidin36
Copy link
Collaborator

aidin36 commented Jan 31, 2022

Thanks for your report.

The series is invalid, and nothing can be drawn. The app should handle these situations and does whatever needs to be done.

I changed the library to throw a proper error in this case. It will still crash your app though.

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

2 participants