asiddh
Posts: 2
Joined: Tue Nov 29, 2022 11:25 am

Stop tooltip movement for same country

I want to stop tooltip hover movement within same country. Tooltip should only move when cursor is in different country .
Like this : https://codepen.io/team/amcharts/pen/YMJZqW
In my map it moves within a single country as well https://codesandbox.io/s/highcharts-rea ... /chart.jsx
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Stop tooltip movement for same country

Hello,

You can set tooltip.followPointer property to false to achieve this.

Demo: https://codesandbox.io/s/highcharts-rea ... ked-6nplvt
API: https://api.highcharts.com/highmaps/too ... lowPointer

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
asiddh
Posts: 2
Joined: Tue Nov 29, 2022 11:25 am

Re: Stop tooltip movement for same country

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

Re: Stop tooltip movement for same country

You're welcome! In case of any further questions, feel free to contact us again.

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

Return to “Highcharts Maps”