Home Forums Chart Support Detect hovered area in Stacked Area Chart

Detect hovered area in Stacked Area Chart

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

    Hello, I’m using shared tooltip and want to highlight hovered area in tooltip. I tried mouseover for serie to provide into tooltip information about current hovered area, but it calls only when I’m hover directly area’s border line not all area. Is there any way to solve my problem?

    For reference I can provide Highcharts.series.stickyTracing and Highcharts.area.trackByArea. But Highcharts options are conflicting to each other. I want to track line or area in priority: If I’m hovering area or area’s border – then detect area, else detect nearest point in Y axis.

    For example: https://jsfiddle.net/qLzj8f47/. I want to make hovered area name bold in tooltip

    #31894

    @zeffirsky,

    As of now, mouseover event is available for dataPoint in which it gets fired only when you hover mouse on a particular dataPoint and not on area.


    Shashi Ranjan
    Team CanvasJS

    #31897

    That’s sad. Is there any way to detect mouseover on chart and calculate hovered area or line programmatically?

    #31919

    @zeffirsky,

    As of now, it is not possible to detect mouseover on a stacked chart and calculate the hovered area or line programmatically.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.