提交 534f71e5 编写于 作者: K kener

未加载图表类型输出控制台错误

上级 fae88cce
......@@ -768,6 +768,7 @@ define(function(require) {
for (var i = 0, l = magicOption.series.length; i < l; i++) {
chartType = magicOption.series[i].type;
if (!chartType) {
console.error('series[' + i + '] chart type has not been defined.');
continue;
}
if (!chartMap[chartType]) {
......@@ -793,6 +794,9 @@ define(function(require) {
self.chart[chartType] = chart;
}
}
else {
console.error(chartType + ' has not been required.');
}
}
_island.render(magicOption);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册