angular-charts
angular-charts copied to clipboard
Avoid 0 value in pie chart.
I draw pie chart with following data
[
{
"x": "Chrome",
"y": [
9
],
"tooltip": "Chrome"
},
{
"x": "Others",
"y": [
0
],
"tooltip": "Others"
}
]
It draws piechart that show 0 value with small white area. Is there any option to not showing 0 value in pie chart?
Are you not getting path attribute errors with this data? On my end the pie chart will not draw unless there is one >0 value in y[0]
Yes, Sorry. I changed the first value to 9
This is a bug and should be fixed in the next release
@chaosfinity Thanks for the quick fix.