dansan
Posts: 23
Joined: Mon Nov 28, 2022 2:23 pm

followPointer: true does nothing for Highstock?

When using Highcharts instead of Highstock, followPointer makes the tooltip float with mouse movement.
The same setting seems to do nothing for Highstock, it still jumps between the points. Is it possible to make it work?
jakub.j
Posts: 1091
Joined: Tue Jan 24, 2023 11:14 am

Re: followPointer: true does nothing for Highstock?

Thanks for contacting us with your question!

To enable tooltip.followPointer in Highstock you need to set the tooltip.split to false as it defaults to true in Stock.

Demo: https://jsfiddle.net/BlackLabel/w3Lsfvaq/

Feel free to ask any further questions!
Best regards
Jakub
dansan
Posts: 23
Joined: Mon Nov 28, 2022 2:23 pm

Re: followPointer: true does nothing for Highstock?

Thanks! Perfect.

Yeah okay, I see the note about split:true in the documentation now - my bad!
It can be confusing when options default to different things depending on the chart.

Best regards!
jakub.j
Posts: 1091
Joined: Tue Jan 24, 2023 11:14 am

Re: followPointer: true does nothing for Highstock?

You're welcome!
I agree that sometimes it can be a little tricky, but that's why we are here on the support to help you!

In case of any further questions, feel free to contact us again.
Best regards
Jakub

Return to “Highcharts Stock”