Reputation: 1
Am working on an Android App which displays a piechart using AChartEngine. The piechart displays 8 different values. Sometimes one of the value is 100% and the rest are 0%. In such a case, seven 0% values are displayed on the pie chart. This doesn't look nice as you can see here:
(source: zoho.com)
How do I prevent display of the value when it is 0% ?
Upvotes: 0
Views: 970
Reputation: 32391
The solution is to not add the 0 values. If you do add them then they exist and they must be displayed.
Upvotes: 0