Mpandroidchart: Changing xAxis text size does not resize the axis size

Created on 20 Nov 2017  ·  5Comments  ·  Source: PhilJay/MPAndroidChart

If one changes the xAxis text size via the api labels will be rendered wrong - bottom will overflow.

Steps to reproduce:
lineChart.getXAxis().setTextSize(14);//set DP size

Relevant part of the graph:
Relevant part of the graph

Most helpful comment

I see the solution under #2290: mChart.setExtraBottomOffset(5);

All 5 comments

I am having the same issue.

you may try this :

mChart.setExtraOffsets(0,0,20,12);

I saw something similar to this earlier, another person was having a similar issue with the labels going outside the chart area. I'll investigate this later.

Has anyone solved this problem?

I see the solution under #2290: mChart.setExtraBottomOffset(5);

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Giammaofwar picture Giammaofwar  ·  3Comments

chathudan picture chathudan  ·  3Comments

manucheri picture manucheri  ·  3Comments

AiTheAnswer picture AiTheAnswer  ·  3Comments

DarkHelmet67 picture DarkHelmet67  ·  3Comments