-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Zooming #107
Comments
Could you maybe use a plugin like this one? https://github.com/chartjs/chartjs-plugin-zoom |
did anyone get https://github.com/chartjs/chartjs-plugin-zoom to work ? |
Yes !
|
any idea how to implement the chart.resetZoom() method from the plugin? |
Answering my own question, hope it helps someone out there.
|
FYI in case you end here like me but need to use hooks...
|
@dopry - just a heads up, you should be able to call |
@princefishthrower, not a typo at all. here is what happens if I do as you recommend.
|
@dopry and @princefishthrower both your methods work but on v2 and v3 of ChartJS respectively. |
|
Absolute life saver |
Hello! Can I zoom any chart, like line?
The text was updated successfully, but these errors were encountered: