0👍
This is a known issue: https://github.com/chartjs/chartjs-plugin-zoom/issues/306
One possible workaround is to set a custom zoom increment/step in the onZoom
handler, and apply different zoom parameters for each axis.
- [Chartjs]-ChartJs bar chart – keep bars left instead of equally spread across the width
- [Chartjs]-How to add background color for doughnut mid using chart,js
Source:stackexchange.com