This is a migrated thread and some comments may be shown as answers.

AreaSeries - OnSeriesHover

1 Answer 43 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 24 Apr 2018, 05:02 PM

Hello,

Is there a way to get the index of the series item hovered via client - not just the Yvalue or category value? 

Was looking at the demo code...

function OnSeriesHover(args) {
                var message = $get("message");
                message.innerHTML = "Hover item with value '" + args.value + "' from category '" + args.category + "'.";
            }

1 Answer, 1 is accepted

Sort by
0
Jason
Top achievements
Rank 1
answered on 24 Apr 2018, 05:12 PM

I have found the solution:

args.point.categoryIx

Thanks.

Tags
Chart (HTML5)
Asked by
Jason
Top achievements
Rank 1
Answers by
Jason
Top achievements
Rank 1
Share this question
or