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

Echart is not refreshed when only style and className change. #446

Closed
iitodo opened this issue Aug 8, 2021 · 0 comments · Fixed by #459
Closed

Echart is not refreshed when only style and className change. #446

iitodo opened this issue Aug 8, 2021 · 0 comments · Fixed by #459

Comments

@iitodo
Copy link
Contributor

iitodo commented Aug 8, 2021

Echart is not refreshed when only style and className change.

This is the wrong code in the src/core.tsx file
image

hustcc pushed a commit that referenced this issue Mar 5, 2025
…n the event changes. 2) If the style or classname changes, it's more reasonable to refresh the data after performing charts.resize first. (#444)

* 1. 仅事件变化时只刷新echart绑定的事件;2. 如果style或者className变化,先进行echarts.resize再刷新数据更合理

* 检视意见修改

* 增加测试用例

---------

Co-authored-by: Wang Sen <13710729@qq.com>
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

Successfully merging a pull request may close this issue.

1 participant