chartjs-plugin-zoom icon indicating copy to clipboard operation
chartjs-plugin-zoom copied to clipboard

Zooming in over axis does not reset y-axis ticks back to initial limits

Open ale-coe opened this issue 2 years ago • 1 comments

Current behavior

Ticks are not reset while zooming in/out over the axis. See "Optional extra steps/info to reproduce" for a better understanding. img__1 img__2

Optional extra steps/info to reproduce

Use the codepen mentioned below.

  1. Zoom in with the cursor over "2022-09" on the x-axis until the ticks on the y-axis change.
  2. Put the cursor on the y-axis and zoom in, it does not matter how much.
  3. Put the cursor over the x-axis and zoom out completely.
  4. Put the cursor over the y-axis and try to zoom out as much as possible. -> It's not possible to zoom out over the y-axis until you get the initally set ticks.

Expected behavior

It is possible to zoom out until you get the initially set ticks.

Reproducible sample

See this codepen.

ale-coe avatar Nov 16 '23 07:11 ale-coe

Confirmed (at the provided link). Looks like a bug.

estanglerbm avatar Apr 08 '24 04:04 estanglerbm