KingsInnerSoul
KingsInnerSoul

Reputation: 1382

AChartEngine display x-axis label above the axis

I know how to set the AChartEngine Y-axis label location by using mRenderer.setYLabelsAlign(Align.LEFT);. But I could not find a similar setup for the X-axis. Is there something special I have to do in order to display the x-axis labels above the axis?

Thanks

Upvotes: 2

Views: 1219

Answers (1)

Dan D.
Dan D.

Reputation: 32391

Do something like this:

renderer.setXLabelsPadding(-30);

Upvotes: 2

Related Questions