Editorial question72.7K views2,966 votes0 answers3,496 following
AI-generatedDoes the Chart.js zoom plugin preserve the original axis step size when zooming a single axis?
When integrating the chartjs-plugin-zoom into a line chart, I configure the zoom object to enable wheel zooming on the Y‑axis only (zoom: { zoom: { wheel: { enabled: true }, mode: 'y' }}). The plugin updates the scale’s min and max values to create the visual zoom effect, but it is unclear whether it also recalculates the scale’s step size (tick interval) to