antvis/Graphin

Graphin.Legend should hide node halo as well

開放

#488 建立於 2023年6月12日

 (2 則留言) (0 個反應) (0 位負責人)TypeScript (276 個分叉)auto 404
help wanted

倉庫指標

星標
 (1,096 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南