tyanai
Posts: 7
Joined: Tue Dec 03, 2019 10:29 am

Tooltip with multiple grouped series

Hi,

I have a chart with n numbers of dataGrouping series (3 in the example below). Seems like I can't get the regular tooltip mechanism to work, ie:
1. Highlight only the line I'm hovering the mouse with
2. Show only the tooltip that relevant to the line I'm hovering on

Whatever I do, I get to see ALL the tooltips from all series on any xAxis, instead only the series I'm hovering on.

p.s.
In addition, I would want to have the tooltip to be triggered only when I click on the point

This is the example:
https://jsfiddle.net/tyanai/eq579dzx/

Thanks,

Tal.
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Tooltip with multiple grouped series

Hello,

For stock charts, the default tooltip settings are different from those for regular charts. In the stock chart tooltip.split is set to true, if you change it to false then the tooltip will behave as you want.

Demo: https://jsfiddle.net/BlackLabel/dgt78psb/
API: https://api.highcharts.com/highstock/tooltip.split

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Stock”