user2901965
user2901965

Reputation: 1

Android AChartEngine - How to hide display of value when pie chart slice is 0%

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:

here
(source: zoho.com)

How do I prevent display of the value when it is 0% ?

Upvotes: 0

Views: 970

Answers (1)

Dan D.
Dan D.

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

Related Questions