Bharat Bharat - 1 year ago 115
Android Question

How to change text color of pie chart description in MPAndroidChart?

I am creating a pie chart using the MPAndroidChart library. In my app, I am having a black background and the text color of the pie chart description is grey be default which is not good for me. I am not able to change it.

How do I change the text color of the description?

My pie chart:

Answer Source

use setDescriptionColor(int color) method


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download