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

Graphing just a part of the data #2669

Closed
egmonterrubio opened this issue Aug 2, 2017 · 1 comment
Closed

Graphing just a part of the data #2669

egmonterrubio opened this issue Aug 2, 2017 · 1 comment

Comments

@egmonterrubio
Copy link

Hello, I'm learning to use the Charts API, (by the way thanks for such an excellent resource), and I wonder if it's possible to chart just part of the data (let's say the last 10 values) and leave the rest ready to be shown if the user ¿scrolls or makes a zoom out?

@liuxuan30
Copy link
Member

liuxuan30 commented Aug 3, 2017

sounds like setVisibleXRange(minXRange: Double, maxXRange: Double), setVisibleXRangeMinimum(_ minXRange: Double) and combo with moveViewToX()

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