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

snakey data=[]时,js报错 #2867

Closed
276509842 opened this Issue Mar 21, 2016 · 4 comments

Comments

Projects
None yet
5 participants
@276509842

276509842 commented Mar 21, 2016

问题简述 (One-line summary)

snakey data=[]时,js报错

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):
  • 浏览器类型和版本 (Browser version):
  • 操作系统类型和版本 (OS Version):

echart3.1.3

重现步骤 (Steps to reproduce)

sankey图,无节点的时候,报js错误

威客java 2016/3/21 14:03:03
{
type: 'sankey',
layout:'none',
data: [],
links: [],
}

js报错误日志:
echarts-all-3.js:30 Uncaught TypeError: Cannot read property 'getLayout' of undefined(anonymous function) @ echarts-all-3.js:30(anonymous function) @ echarts-all-3.js:23p @ echarts-all-3.js:1f.extend.eachSeriesByType @ echarts-all-3.js:23t.exports @ echarts-all-3.js:30(anonymous function) @ echarts-all-3.js:1p @ echarts-all-3.js:1(anonymous function) @ echarts-all-3.js:1p @ echarts-all-3.js:1d @ echarts-all-3.js:1E.update @ echarts-all-3.js:10E.prepareAndUpdate @ echarts-all-3.js:10z.setOption @

@pissang pissang added the bug label Mar 21, 2016

@brucewar

This comment has been minimized.

brucewar commented Jan 16, 2018

官方为啥不解决

@deqingli deqingli self-assigned this Mar 7, 2018

@deqingli

This comment has been minimized.

Member

deqingli commented Mar 7, 2018

不好意思,我们每天有很多 issue,有时候会有遗漏,请见谅。这个问题我现在在跟

@deqingli

This comment has been minimized.

Member

deqingli commented Apr 11, 2018

您好,这个问题解决了,会随下个版本一起发布。感谢给我们提意见,祝好~

@deqingli deqingli closed this Apr 11, 2018

@deqingli deqingli self-assigned this Apr 11, 2018

@yzhang921

This comment has been minimized.

yzhang921 commented Oct 23, 2018

请问3.x哪个版本解决的, 我现在使用的3.6.2依旧存在问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment