visible: 'legendonly' removes plot from hover event data
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
I have multiple plots in one figure, and I want to toggle their visibility. But when I set legendonly, it removes the item completely from hover event data, and I cannot keep track of my plots anymore using their index. How can I preserve the hover event data for hidden plots? I need the hover event data for a custom legend component.
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
Reproduce the issue with multiple plots, legendonly visibility, and a custom legend, then trace how hidden plots are handled when hover event data is assembled. Done means hidden plots remain identifiable in hover event data while their legendonly visibility is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100