Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x Axis grid line origin is wrong ! maybe a bug, anxious!!! #3904

Closed
ruigeyun opened this issue Mar 18, 2019 · 2 comments
Closed

x Axis grid line origin is wrong ! maybe a bug, anxious!!! #3904

ruigeyun opened this issue Mar 18, 2019 · 2 comments

Comments

@ruigeyun
Copy link

ruigeyun commented Mar 18, 2019

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

@liuxuan30
Copy link
Member

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.

@ruigeyun
Copy link
Author

ruigeyun commented Apr 8, 2019

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 端,使用同样的操作,是可以实现的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants