MPAndroidChart: x axis labels with big text size are cut off

Paul :

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?

Jacek Kwiecień :

chart.extraTopOffset is there to save you :D

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=421356&siteId=1