Reputation: 3478
I am using MPAndroidChart for displaying a PieChart like in the image and I want to increase the size of percentage values, like 38%, 14% and so on but I can't find any methods to do so.
Upvotes: 2
Views: 2067
Reputation: 196
This should work :
// reference to your data
PieData data = new PieData(labels, dataSet);
// this increases the values text size
data.setValueTextSize(40f); // <- here
Upvotes: 2