Pan with Mouse Scroll Wheel #854
iantrudell
started this conversation in
General
Replies: 1 comment 5 replies
-
Hi @iantrudell , Ref :https://www.chartjs.org/chartjs-plugin-zoom/latest/guide/options.html |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to configure the chart to pan using the scroll wheel (zoom disabled).
Use case is I have a fixed height chart window of 500px, I want to only show 10 items on the y axis at a time in my stacked bar, and use the scroll wheel to pan on the y axis and thus choose which 10 labels + bars to show at a given time.
Current options object config:
Click and drag works to pan, but scrolling with the wheel doesn't pan.
Is this feature not supported, or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions