react-native-pie-chart
react-native-pie-chart copied to clipboard
Pie Chart
While using piechart if we provide 0,0 value in series it crashes application.
Try : series={[0,0,0]}
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.