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

After zooming in too much, straight line shifts upwards

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

Current behavior

In an unzoomed state the blue dot is located directly on the line (the line itself is an annotation and the blue dot is part of a scatter chart). img_1 If I zoom in too much, the line shifts upwards and the dot is not located on the line anymore. img_2

Swapping the annotation with a line chart or a scatter chart does not fix the issue.

Expected behavior

The zoomlevel does not affect how the line is displayed.

Reproducible sample

See this codepen.

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

Hey,

I'm having the same problem, did you find a solution?

fehmisener avatar May 06 '24 01:05 fehmisener