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

Auto-adjusting graph scale on moving #553

Closed
ghost opened this issue Nov 16, 2015 · 2 comments
Closed

Auto-adjusting graph scale on moving #553

ghost opened this issue Nov 16, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 16, 2015

When you set your graph to only show part of data at once with setVisibleXRangeMaximum graph y axis is not scaled for only current data on screen but for all data set. Would there be a possibility y axis could adapt only to current data on screen so it scales to the current data y range not to the whole data y range.

@AlBirdie
Copy link
Contributor

autoScaleMinMax is what you are looking for.

e.g.:
[chart setAutoScaleMinMaxEnabled:YES]

@ghost
Copy link
Author

ghost commented Nov 16, 2015

Thank you very much. Awesome.

@ghost ghost closed this as completed Nov 16, 2015
This issue was closed.
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

1 participant