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

linecharts moveViewToX不起作用 #4313

Closed
ZhongYu5 opened this issue Mar 19, 2020 · 1 comment
Closed

linecharts moveViewToX不起作用 #4313

ZhongYu5 opened this issue Mar 19, 2020 · 1 comment

Comments

@ZhongYu5
Copy link

[self.equipmentLine setVisibleXRangeMaximum:7.f];
[self.equipmentLine moveViewToX:12.f];
x轴起始点不会从12开始

@liuxuan30
Copy link
Member

liuxuan30 commented May 12, 2020

need data set you said it's not working. reopen when you have more details
I also checked ChartsDemo line chart, it's working.

//    [_chartView animateWithXAxisDuration:2.5];
    [_chartView setVisibleXRangeMaximum:7.f];
    [_chartView moveViewToX:12.f];

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