Home Forums Chart Support Data Point Mouseover – not very accurate

Data Point Mouseover – not very accurate

Viewing 3 posts - 1 through 3 (of 3 total)
  • #15552

    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

    • This topic was modified 6 years, 9 months ago by NOT REAL NAME.
    #15578

    @s_t_harvey,

    This feature is not available out of the box as of now. However, you can take a look at this work-around.


    Indranil Deo
    Team CanvasJS

    #15593

    Thanks very much, that’s great.

    Thanks for such a great script.

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

You must be logged in to reply to this topic.