Graphin.Legend should hide node halo as well
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
If the node has a halo, when we click on the legend to "hide" that node, the halo is still fully visible but it should take the node visibility into account to make it also invisible, or less visible.
### Your Example Website or App
https://codesandbox.io/s/suspicious-heisenberg-rhzvzc?file=/App.tsx
### Steps to Reproduce the Bug or Issue
Add a legend to a chart, display nodes with halos and click the legend to toggle node visibility.
### Expected behavior
The halo should also go invisible alongside the node.
### Screenshots or Videos
_No response_
### Platform
- OS: Linux
- Browser: Edge, Chrome
- Version: LTS
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.