Home Forums Chart Support Detect hovered area in Stacked Area Chart

Detect hovered area in Stacked Area Chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • #31885

    Hello, I’m using shared tooltip and want to highlight hovered area in tooltip. I tried mouseover for data 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

    #31895

    @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.

    Considering this thread as a duplicate of Detect hovered area in Stacked Area Chart and hence closing the same.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.