swati
swati

Reputation: 1283

How to increase the horizontal chart value text size in MPAndroidChart

I am using MPAndroidChart, I want to set the barchart values in center of the bar and with bigger font.

    mChart.setDrawValueAboveBar(false);

By using the above the value is shown inside the bar but not at the center.I am using MpChart Thanks in advance

Upvotes: 5

Views: 6956

Answers (1)

Philipp Jahoda
Philipp Jahoda

Reputation: 51411

By default, it is not possible to center the values, you will have to add that feature yourself.

Concerning the textsize, try: barDataSet.setValueTextSize(...)

Upvotes: 19

Related Questions