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

Reset zoom not respecting initial values #68

Closed
putyourlightson opened this issue Sep 2, 2018 · 3 comments
Closed

Reset zoom not respecting initial values #68

putyourlightson opened this issue Sep 2, 2018 · 3 comments

Comments

@putyourlightson
Copy link

I haven't tested all settings, but in v1.3.1 I'm setting the following for a zoomable line chart:

yaxis: {
   max: 100,
},

When I zoom in and then click the "reset zoom" button, the max setting of 100 is ignored and the chart's max value is used instead. I assume this is not expected behaviour.

Thanks you for the amazing charting library!!

@junedchhipa
Copy link
Contributor

This is somewhat related to #38

When I will fix #38, this will be taken care of, thanks for reporting 👍

@putyourlightson
Copy link
Author

Great thanks!

@duyn-stanford
Copy link

This still seems to be an issue for timeline charts that set xaxis.min. In my project, set the minimum value to today, March 1, 2023.

My initial chart:
Screenshot 2023-03-01 at 9 26 32 PM

When I click on zoom reset:
Screenshot 2023-03-01 at 9 26 54 PM

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