messages2raja
Posts: 18
Joined: Sun Dec 03, 2023 10:35 am

Combining Tooltips for Multiple Series in Highstock

Hi everyone,

I’m working on a Highstock chart that includes multiple series stacked one above the other. My goal is to display a combined tooltip that shows all the series points when hovering over the top series.

Currently, the tooltip only shows the data for the series being hovered over, but I need it to aggregate and display the data points from all series at that specific x-axis value. This would provide a comprehensive view of all the data points at once.

Has anyone implemented something similar or can provide guidance on how to achieve this? Any code snippets or configuration tips would be greatly appreciated!

Thanks in advance for your help!

Raja Ar
andrzej.b
Posts: 71
Joined: Mon Jul 15, 2024 12:34 pm

Re: Combining Tooltips for Multiple Series in Highstock

Hi Raja,

Thank you for asking.

It seems that you are referring to tooltip.split opiton, which allows to show all values on a given x point in a tooltip. You can also compare it with tooltip.shared, though split option is more recommended in most cases.

See a sample demo here: https://www.highcharts.com/demo/stock/compare

Let us know if that was what you were looking for.

Best regards,
Andrzej

Return to “Highcharts Stock”