antvis/Graphin

Graphin.Legend should hide node halo as well

Offen

#488 geöffnet am 12.06.2023

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (276 Forks)auto 404
help wanted

Repository-Metriken

Stars
 (1.096 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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