e.north
Posts: 2
Joined: Tue Jan 17, 2023 5:43 pm

Tooltip Accessability

Is there a way to have the tooltip stay on pie charts and bar charts when the mouse is hovering over the actual tooltip content not just the charts data point. There is an accessibility need to allow a mouse user to move their mouse over the tooltip content without dismissing the tooltip
User avatar
dawid.d
Posts: 838
Joined: Thu Oct 06, 2022 11:31 am

Re: Tooltip Accessability

Hi,

Welcome to our forum and thanks for contacting us with your question!

You can achieve this with the stickOnContact parameter. See: https://api.highcharts.com/highcharts/t ... kOnContact

Demo: https://jsfiddle.net/gh/get/library/pur ... oncontact/

Let me know if that was what you were looking for!
Best regards!
Dawid Draguła
Highcharts Developer
e.north
Posts: 2
Joined: Tue Jan 17, 2023 5:43 pm

Re: Tooltip Accessability

This does not work as expected with pie charts or bar/ column charts. I am not sure if this is a bug or if this will just never work with pie charts. Please see demo.

Demo: http://jsfiddle.net/wuq6pa82/1/
User avatar
dawid.d
Posts: 838
Joined: Thu Oct 06, 2022 11:31 am

Re: Tooltip Accessability

Hi,

This is because the pie series has followPointer enabled in their tooltip by default. You can turn it off as in the demo below.

Demo: http://jsfiddle.net/BlackLabel/qzo7mt41/

Regards!
Dawid Draguła
Highcharts Developer

Return to “Highcharts Usage”