Charts: x Axis grid line origin is wrong ! maybe a bug, anxious!!!

Created on 18 Mar 2019  ·  2Comments  ·  Source: danielgindi/Charts

I set the position of x Axis bottom, but the x Axis grid line origin still is top ,how to fix?? help
my setting:
xAxis.labelPosition = .bottom
xAxis.drawGridLinesEnabled = true
xAxis.gridLineDashPhase = 0.0
xAxis.gridLineDashLengths = [15, 10000]

A0FF27B41046C5E7A906F4A95CF348A9

大佬,我的意思是,x轴默认是顶部的,它的网格线起始位置也是顶部。现在我把x轴的位置设置在底部,他的网格线起始位置还是顶部!没有跟随x轴到底部。我是想让网格线作为坐标轴刻度,如上图,Y轴的刻度有了,x轴的刻度没有!
我在MPAndroidChart 端,使用同样的操作,是可以实现的
下面是我的使用方法:
PulmonaryViewController.zip

All 2 comments

I don't understand.. and I don't find this is an issue for a long time. closing.
I will reply if you get more details.

I don't understand.. and I don't find this is an issue for a long time. closing.
I will reply if you get more details.
大佬,我的意思是,x轴默认是顶部的,它的网格线起始位置也是顶部。现在我把x轴的位置设置在底部,他的网格线起始位置还是顶部!理应跟随到底部才对。我是想让网格线作为坐标轴刻度,如上图,Y轴是的刻度有了,x轴的刻度没有。我在MPAndroidChart 端,使用同样的操作,是可以实现的。

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anhltse03448 picture anhltse03448  ·  3Comments

deepumukundan picture deepumukundan  ·  3Comments

brytnvmg picture brytnvmg  ·  4Comments

JW00332 picture JW00332  ·  4Comments

PrashantKT picture PrashantKT  ·  3Comments