If only one 100% item there will be no pizza at all :)
Add below before line 144 and we get a round cirlce, probably som operator thats wrong that now allow single data item with value 100, but 99.9999 seems fine.
if (data.length === 1){
var singlePie = data;
data = [];
data.push({
value: 99.9999,
color: singlePie[0].color,
segment: singlePie[0].segment
});
}
Schmetmann () - 7 years ago - Reply -1
How can I change the percent? I mean that Can I give a specific percent of the pizza pie chart?
omarpervez () - 3 years ago - Reply 0
How can I change the percent. I mean that Can I give specific percent of the pizza pie chart?
omarpervez () - 3 years ago - Reply 0
Yes you can! I am applying same on https://letracking.com/acs-courier-tracking/
Jonathan665 () - 3 years ago - Reply 0
Yes you can! I am applying same on https://letracking.com/acs-courier-tracking/
Jonathan665 () - 3 years ago - Reply 0