Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MPAndroidChart PieChart Remove Percents

I am using MPAndroidChart.

I want to remove percent values on the PieChart. How can I do this? PieChart Picture

like image 479
Metehan Toksoy Avatar asked Dec 20 '22 02:12

Metehan Toksoy


1 Answers

For not drawing the entry-values, call: pieData.setDrawValues(false)

For not drawing the x-values, call: pieChart.setDrawSliceText(false)

like image 169
Philipp Jahoda Avatar answered Feb 01 '23 04:02

Philipp Jahoda