Replies: 2 comments
-
Hey, I'm having the same problem, did you find a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is (at least) related to the fact that getPixelForValue limites its result to -32767..32767. When the annotation (or line) closest point is far enough in some direction, it gets limited. If I remember correctly, canvas has similar limitations. maybe limit the zooming? and/or use a line chart instead of annotation with many points. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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).
If I zoom in too much, the line shifts upwards and the dot is not located on the line anymore.
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.
Beta Was this translation helpful? Give feedback.
All reactions