Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mouse event on wrong point #4679
If we hover directly sun (without hovering other spline series) - we can proper click.
I think we should follow the order of the z-indexes when it comes to mouse events. It is more intuitive to get click event on top most SVG shape.
Probably connected to the way we search for the closest point to the mouse and we already have some hovered series.
Better example: http://jsfiddle.net/bsrnhuna/3/ - with enabled tooltip, we can see what exactly happens:
Problem comes from this line. In fact there should be
And we get little