We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bug重现示例: http://jsbin.com/kidificifi/1/edit?html,output
描述: 如果在初始化设置Option时在series数组中设置多个饼图实例,在结果中可以看到多个饼图。 但是如果是在异步等动态修改setOption设置series的值时,Echart报错,压缩文件内提示id重复。
The text was updated successfully, but these errors were encountered:
@adamed
这个情况是因为添加多个序列,没有指定series序列每项的name值,造成的。因为name值是用来
系列名称,用于tooltip的显示,legend 的图例筛选,在 setOption 更新数据和配置项时用于指定对应的系列。
顺便给你看一个修整好的例子
PS:这种多序列情况下,如何处理好呢?
Sorry, something went wrong.
907808d
echart 谷歌浏览器最小化后再打开就显示空白,尤其是开定时实时获取数据,或者用socket.io,其他浏览器不会
No branches or pull requests
bug重现示例:
http://jsbin.com/kidificifi/1/edit?html,output
描述:
如果在初始化设置Option时在series数组中设置多个饼图实例,在结果中可以看到多个饼图。
但是如果是在异步等动态修改setOption设置series的值时,Echart报错,压缩文件内提示id重复。
The text was updated successfully, but these errors were encountered: