-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphin.Legend should hide node halo as well #488
Labels
help wanted
Extra attention is needed
Comments
@romulorod If you set the style configuration for Graphin, you also need to manually specify its status configuration via props.nodeStateStyles,You can check out the link below: |
@pomelo-nwu this was exactly what I needed, I wasn't aware of that props, nodeStateStyles, thank you!! <3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Additional context
No response
The text was updated successfully, but these errors were encountered: