Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 377
Paul Avatar asked Feb 18 '20 05:02

Paul


1 Answers

chart.extraTopOffset is there to save you :D

like image 177
Jacek Kwiecień Avatar answered Sep 20 '22 17:09

Jacek Kwiecień