Charts: X-Axis at bottom of chart?

Created on 31 Jan 2016  路  1Comment  路  Source: danielgindi/Charts

Apologies if this is an obvious question. I noticed that all the graphs have the Y-axis on the left, and the X-axis at the top. But a lot of standard charts tend to put the X-axis on the bottom. Is there any API to set that? I noticed in the MPAndroidChart API, there's a setPosition function, but that doesn't seem to be included in ChartXAxis in iso-charts - instead there's a labelPosition property which seems only to relate to the position of the label relative to the X-axis.

Edit: Nevermind, I'm dumb! Setting the labelPosition property to .Bottom also moved the XAxis itself to the bottom.

Most helpful comment

I do not know if I understood your question well, but on the charts-ios, It can be solved like this.
lineChartView.xAxis.labelPosition = XAxis.LabelPosition.bottom

>All comments

I do not know if I understood your question well, but on the charts-ios, It can be solved like this.
lineChartView.xAxis.labelPosition = XAxis.LabelPosition.bottom

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kwstasna picture kwstasna  路  3Comments

coop44483 picture coop44483  路  3Comments

Shunshine07 picture Shunshine07  路  3Comments

newbiebie picture newbiebie  路  3Comments

kirti0525 picture kirti0525  路  3Comments