14

I have used MPAndroidChart to make a LineChart and set the x axis text size to 15. Unfortunately, the x axis labels are cut off at the top due to the big text size:

enter image description here

How can I solve this problem?

Paul
  • 848
  • 12
  • 33

1 Answers1

35

chart.extraTopOffset is there to save you :D

Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157