Amirhosein
Amirhosein

Reputation: 4446

Ho to set MPAndroid piechart no lable

I'v used MPAndroid PieChart and want to show only percent values without labels. When I remove labels then colored guide below of chart also is without label. How to remove labels from pichart without removing guide labels?

Upvotes: 0

Views: 59

Answers (1)

Martin Zeitler
Martin Zeitler

Reputation: 76579

set setDrawLabels(false) for the axis.

setDrawLabels(boolean enabled): Set this to true to enable drawing the labels of the axis.

Upvotes: 1

Related Questions