antvis/G2

changeData更新数据。图例没有实时更新 #6191

Calmio-Y posted onGitHub

问题描述

image

重现链接

No response

重现步骤

1.第一个渲染和第二次渲染的数据不同 2.使用的是changeData更新数据的

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


需要在图表重新渲染之后,同步渲染图例。

chart.changeData().then(updateLegend)
posted by pearmini about 1 year ago

updateLegend是?

posted by Calmio-Y about 1 year ago

这个我先关闭了,就在 https://github.com/antvis/G2/discussions/6152 这里面讨论吧。

posted by pearmini about 1 year ago

Fund this Issue

$0.00
Funded

Pull requests