Home › forums › Using CanvasJS › Mouseover on line series not trigerring
This topic contains 3 replies, has 2 voices, and was last updated by Indranil Deo 11 months ago.
In line series,
mouseover is triggered when the mouse pointer is on a data point. This should only happen when the mouseover event is in the dataPoints object.
If the mouseover event is written in the series object then it should trigger when the mouse is anywhere on the line.
Check this fiddle,
there is no difference in the two mouseover events, both are fired when the mouse is over the point. The outer one should trigger also when the mouse is on the line.
Same in case of mouseout event.
The mouseover / mouseout event at dataSeries level is used to set the event for all the dataPoints in that dataSeries which will be overridden by the events in dataPoint level.
Is there any other way by which I can get mouseover and mouseout to get triggered anywhere on the line?
Adding mouseover/mouseout events are only available for dataPoints in the series. Adding the event to the line is not available as of now.
You must be logged in to reply to this topic.