Posted 5 January 2021, 3:26 am EST
Hi,
I have been having some trouble with the line marker not displaying the nearest point. This value is incorrect right from the initial hover event, so I don’t think it’s an issue with my implementation.
To reproduce the bug:
- Create a simple line chart with a steep line series
- Hover the line marker in between the largest and second largest points, so that the largest point is shown in the line marker
- Move your mouse down vertically while staying at the same position horizontally
- The line marker then shows the second largest point even though the line marker position has not changed.
The line marker seems to show the closest point by euclidean distance from the cursor, when I would expect it to show the closest point horizontally from the line marker. This causes problems when have steep series, or several points close to each other.