MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Pie chart Disappear when all the Entry values are zero.

Open Mushahid2521 opened this issue 4 years ago • 3 comments

I have been working with Pie chart. It has 5 Data entry. Initially all the values will be zero. I want to show 0% as a single label with a any color as the full section color.

Mushahid2521 avatar Sep 09 '20 04:09 Mushahid2521

When all values are zero, divide all the 5 values equally by providing a equal values manually in this condition (eg : 1,1,1,1,1). If you pass values as zero then the chart wont display

brolinmichael avatar Jan 22 '21 12:01 brolinmichael

I have been working with Pie chart. It has 5 Data entry. Initially all the values will be zero. I want to show 0% as a single label with a any color as the full section color.

Did you find a solution?

helloworld10010 avatar Jul 27 '21 08:07 helloworld10010

这个怎么处理的我也遇到了相同问题

wqzbb avatar Jul 14 '22 09:07 wqzbb