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

Chart doesn't update after changing options #216

Closed
VictorChen opened this issue Aug 22, 2018 · 2 comments
Closed

Chart doesn't update after changing options #216

VictorChen opened this issue Aug 22, 2018 · 2 comments

Comments

@VictorChen
Copy link

Here's a simple reproducer:

https://codesandbox.io/s/v1y9560k8l

All it's doing is toggling on/off one of the series, but the chart doesn't re-render.

@VictorChen
Copy link
Author

nvm seems like this is actually a bug with echarts: apache/echarts#6202

@diogns
Copy link

diogns commented Feb 16, 2021

I solved this for React and only set "notMerge" to true.

<ReactECharts option={options} opts={{ renderer: 'svg' }} notMerge={true} />

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