toggleHover property is not working when using modeBarButtonsToAdd method with Pie Charts config
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linked CodePen with Plotly 2.x and compare it with the Plotly 1.x behavior. Inspect the modeBarButtonsToAdd handling and the type definitions where toggleHover is listed as a ModeBarDefaultButtons type. Done means toggleHover works for pie charts when added through modeBarButtonsToAdd, or its supported replacement is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100