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

贡献者指南