echarts icon indicating copy to clipboard operation
echarts copied to clipboard

ie8里显示不了pie chart,其它图表都能显示

Open greenHandpo opened this issue 11 years ago • 1 comments

从ie8打开自己建的网页,跳出窗口: 当前页面的脚本发生错误 行:6304 char:25 错误:‘name’ is null or is not an object 代码:0 URL:http://localhost:8080/website/js/eCharts/echarts.js

我把echarts.js打开 找到6304行附近 代码为: if (series[i].type === ecConfig.CHART_TYPE_PIE || series[i].type === ecConfig.CHART_TYPE_RADAR || series[i].type === ecConfig.CHART_TYPE_CHORD || series[i].type === ecConfig.CHART_TYPE_FORCE || series[i].type === ecConfig.CHART_TYPE_FUNNEL) { data = series[i].categories || series[i].data || series[i].nodes; for (var j = 0, k = data.length; j < k; j++) { if (data[j].name === name) { -------------------------------6304行 return { type: series[i].type, series: series[i], seriesIndex: i, data: data[j], dataIndex: j }; } } }

greenHandpo avatar Feb 12 '15 06:02 greenHandpo

同 #1274

kener avatar Feb 12 '15 07:02 kener