chartjs/chartjs-plugin-zoom

After zooming in too much, straight line shifts upwards

ale-coe opened this issue · 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.