Is there any way to solve setDrawSliceText
is deprecated. I did not find any solution regarding this.
How to get pieChart.setDrawSliceText(false);
It is deprecated, however in its javadoc it states:
/**
* Set this to true to draw the entry labels into the pie slices (Provided by the getLabel() method of the PieEntry class).
* Deprecated -> use setDrawEntryLabels(...) instead.
*
* @param enabled
*/
so use setDrawEntryLabels
instead
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With