I have set a function to be triggered on mouseover like this:
data: [
{
type: "spline",
mouseover: onMouseover,
click: onMouseover,
markerSize:2,
markerColor:'red',
dataPoints: dataPoints
}
]
This does work but it doesn’t always happen.
Is there a better way to achieve this?
Ideally I would like an event to be triggered anytime that the cursor moves over the chart – as the dot & labels move from point to point (i.e. not just when the mouse is over the actual marker, but when it is within the range). Any advice would be appreciated.
Thanks