Ho to set MPAndroid piechart no lable

时间:2018-10-17 12:52:00

标签: android mpandroidchart

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?

1 个答案:

答案 0 :(得分:1)

axis设置为setDrawLabels(false)

  

setDrawLabels(boolean enabled):将其设置为true以启用绘制轴的标签。