Hi, 👋
In the current master version, the animationDuration option doesn't work correctly. It only allows to enable/disable the animation on drag, but the duration is not taken into account.
In the code, the duration is set on chart.options.animation.zoom.duration, but it seems that we should set chart.options.transitions.zoom.animation.duration instead (I guess but I'm not sure to understand how transitions work in Chart.js 3).
By the way, I don't know if the animationDuration option is still needed since we can know customize the zoom transition in chart.options.animation.zoom?
- chart.js 3.0.1
- chartjs-plugin-zoom master
Hi, 👋
In the current master version, the
animationDurationoption doesn't work correctly. It only allows to enable/disable the animation on drag, but the duration is not taken into account.In the code, the duration is set on
chart.options.animation.zoom.duration, but it seems that we should setchart.options.transitions.zoom.animation.durationinstead (I guess but I'm not sure to understand how transitions work in Chart.js 3).By the way, I don't know if the
animationDurationoption is still needed since we can know customize thezoomtransition inchart.options.animation.zoom?