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

单文件方式加载混搭图形时切换折线图报错 #600

Closed
lbx1979 opened this issue Aug 21, 2014 · 1 comment
Closed

单文件方式加载混搭图形时切换折线图报错 #600

lbx1979 opened this issue Aug 21, 2014 · 1 comment

Comments

@lbx1979
Copy link

lbx1979 commented Aug 21, 2014

根据http://echarts.baidu.com/doc/example/mix9.html#macarons 这个例子的数据进行了测试

myChart为pie, myChart2为bar
仅增加如下代码, 显示饼图:
myChart = echarts.init(document.getElementById('main'));
myChart.setOption(option);

显示图形后点击myChart2上的折线切换会报错, 如下
错误信息: Unable to get property 'pie' of undefined or null reference
行号: 18040
文件: http://10.24.13.178/cwbase/web/session/gsidp/lib/echarts/echarts-plain-original-map.js

@kener
Copy link
Contributor

kener commented Aug 29, 2014

thx & bug confirm

@kener kener closed this as completed in c71127e Aug 29, 2014
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