Home Forums Chart Support Mouseover on line series not trigerring

Mouseover on line series not trigerring

Viewing 4 posts - 1 through 4 (of 4 total)
  • #20040

    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.

    https://jsfiddle.net/QwZuf/1031/

    #20050

    @himanshu_tanwar,

    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.

    ___________
    Indranil Deo,
    Team CanvasJS

    #20053

    Is there any other way by which I can get mouseover and mouseout to get triggered anywhere on the line?

    #20061

    @himanshu_tanwar,

    Adding mouseover/mouseout events are only available for dataPoints in the series. Adding the event to the line is not available as of now.

    ___________
    Indranil Deo,
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.