-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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
动态改变series的bug #4033
Comments
好!回头试试 |
@pissang ,jsfiddle里的第二个例子还是没有修复。 |
是你的用法不对 setOption有3个属性,setOption(option,notMerge,lazyUpdate); 第二个notMerge默认为false,即默认合并两个数据 解决:设置为true myChart.setOption(option,true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题简述 (One-line summary)
动态改变line chart的series会出现显示错误
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
期望结果 (Expected behaviour)
可以动态改变series的name,删除series时chart也会动态删除
可能哪里有问题 (What went wrong)
第一次生成chart后series被cache住了。以至于更新series后按照原来的顺序生成。
ECharts配置项 (ECharts option)
其他信息 (Other comments)
jsfiddle地址: https://jsfiddle.net/q69ph4ze/
The text was updated successfully, but these errors were encountered: