-
Notifications
You must be signed in to change notification settings - Fork 329
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 a category axis with the mouse wheel barely works #360
Comments
I have obtained the same issue but using date scale in the x-axis. I have used the following library versions:
|
I resolved this with changing the type of X-axis to "time". In my case I had the "time" on the X-axis as well so it came out fine. Here is the piece of code defining my X-axes: My X-data is populated with Moment (momentjs) objects.
|
Zoom seems to work fine (except not zooming to the actual mouse position) with 1.0.0-beta.3, but pan does not work correctly (because of skipped labels): |
Hi there,
Chartjs: 2.9.3
Zoom: 0.7.7
The zoom on the y-axis works perfectly.
The x-axis doesn't work at all when the mouse cursor while zooming is on the left side, and when the cursor is on the right side, it does the zoom but really really slow (even when changing the speed and sensitivity) .
I tried also the functionality of zoom by dragging, unfortunately, I got the same result, the x-axis didn't work but the y-axis worked fine.
Please check out this example:
https://codepen.io/yoelz55/pen/WNQLxRN
Thank you in advance for any help,
Yoel
Originally posted by @yoelz55 in #50 (comment)
The text was updated successfully, but these errors were encountered: