antvis/G6

如何过滤? how to filter data? #5104

neolee6053 posted onGitHub

问题描述

https://github.com/antvis/G6/issues/2837 我看见两年前有人问过,答案是用 hideItem() 请问现在,还是一样吗? 有没有setData之类的function? :)

重现链接

https://codesandbox.io/s/new

重现步骤

如上

预期行为

如上

平台

  • 操作系统: [ Window]
  • 网页浏览器: [Google Chrome,x]
  • G6 版本: [4.8.17 ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


不太清楚你这里筛选数据的原始需求,可以通过 changeData 来更换数据

posted by Yanyan-Wang over 1 year ago

太好了!

posted by neolee6053 over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests