Smooth Pan and zoom #605
Replies: 3 comments
-
Pan is not broken in the official sample you linked. Instead it is dissabled. The zoom and pan are by default disabled and have to be enabled for all the modes you want it to use. For a pan and zoom example you can see this example: https://www.chartjs.org/chartjs-plugin-zoom/latest/samples/basic.html Edit: |
Beta Was this translation helpful? Give feedback.
-
@LeeLenaleee I did't understand and implement plugin correctly. Thanks for explain. |
Beta Was this translation helpful? Give feedback.
-
np can happen |
Beta Was this translation helpful? Give feedback.
-
Hi,
Maybe this is not right place to set question, but i try to get pan and zoom on chart.js 3 as on v2, and can't get it.
Even on official page Official example chart is broken if I try to zoom in, in local pan is broken too.
Did I miss something? I have this example on v2 and works perfect. v2 example
I upload and v3 example. After some time if I pan drag right, Chart does not behave expected v3 example
If this is not possible on v3 I need to downgrade to v2 :(
Best regards,
Milan
Beta Was this translation helpful? Give feedback.
All reactions