chartjs-plugin-zoom
chartjs-plugin-zoom copied to clipboard
Floating-point precision error at zoomed y-axis
Like marked in the screenshot below there sometimes occur floating point precision errors on the outer ticks of the y-axis.
chartjs-plugin-zoom in version 2.0.1 chartjs in version 4.4.4
Using the chartjs precision property on the ticks, does not take effect to the outer ticks of the zoomed axis.
The setup of the above chart can be found here: https://jsfiddle.net/f1we3qt9/1/ Unfortunately the shown bug is hard to reproduce.