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
With Plotly version 2.x.x there is no
toggleHover
option available for Pie Charts when usingmodeBarButtonsToAdd
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 anModeBarDefaultButtons
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? Greetingshttps://codepen.io/arielkuzminski/pen/zYjxbQx