Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Calmio-Y opened this issue Apr 22, 2024 · 3 comments
Closed

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

Calmio-Y opened this issue Apr 22, 2024 · 3 comments

Comments

@Calmio-Y
Copy link

问题描述

image

重现链接

No response

重现步骤

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

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@pearmini
Copy link
Member

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

chart.changeData().then(updateLegend)

@Calmio-Y
Copy link
Author

updateLegend是?

@pearmini
Copy link
Member

这个我先关闭了,就在 #6152 这里面讨论吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants