plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
16.89k stars 1.85k forks source link

toggleHover property is not working when using modeBarButtonsToAdd method with Pie Charts config #6309

Open arielkuzminski opened 2 years ago

arielkuzminski commented 2 years ago

With Plotly version 2.x.x there is no toggleHover option available for Pie Charts when using modeBarButtonsToAdd method. With plotly Version 1.xx it was available, as you can see in my Codepen by just uncommenting the script.

When I looked through types files I see that toggleHover is still there as an ModeBarDefaultButtons type, but it has no effect at all.

So question from me - How can I add toggleHover option for Pie Charts in Plotly 2.XX? Greetings

https://codepen.io/arielkuzminski/pen/zYjxbQx

matinh commented 2 months ago

This seems to be still an issues with v2.32.0. And in addition toggleSpikelines suffers from the same issue.

gvwilson commented 2 months ago

thanks @matinh - I'll add it to our backlog and see if we can find someone to tackle it.