-
Couldn't load subscription status.
- Fork 19.8k
Closed
Labels
inactiveNot active for some time or no response from the author. Will be closed soon.Not active for some time or no response from the author. Will be closed soon.
Description
问题简述 (One-line summary)
在选项卡(easyui-tabs)中创建定时刷新的图表后切换到其他选项卡,报错某某方法 should not be called during main process.
版本及环境 (Version & Environment)
- ECharts 版本 (ECharts version): 3.0
- 浏览器类型和版本 (Browser version): 火狐 47.0.1
- 操作系统类型和版本 (OS Version): window 7 旗舰版 64位
重现步骤 (Steps to reproduce)
1.在main.jsp中使用easyui-tabs和iframe创建多个选项卡。
2.在其中一个选项卡中绘制图表,并设置定时刷新数据,重绘图表。
3.切换到其他选项卡,观察浏览器控制台(火狐的firebug)。
4.绘制图表时报错,‘setOption’ should not be called during main process.。
5.重新切换回到该选项卡,报错依旧存在,并且定时刷新不再生效,手动点击也不再生效。
期望结果 (Expected behaviour)
可能哪里有问题 (What went wrong)
切换到其他选项卡后可能DOM对象获取失败,我想问问有什么办法解决吗?
或者Echarts在绘图的时候能判断一下是否能够绘制?
刚接触Echarts,有许多地方不懂,如果误报了BUG请见谅。
ECharts配置项 (ECharts option)
option = {
}其他信息 (Other comments)
Metadata
Metadata
Assignees
Labels
inactiveNot active for some time or no response from the author. Will be closed soon.Not active for some time or no response from the author. Will be closed soon.