提交 22bb297c 编写于 作者: S sushuang

Merge branch 'master' of https://www.github.com/ecomfe/echarts

......@@ -55,7 +55,11 @@ define(function(require) {
var data = option.data;
addOrdinal && zrUtil.each(data, function (item, index) {
zrUtil.isArray(item) && item.unshift(index);
if (item.value && zrUtil.isArray(item.value)) {
item.value.unshift(index);
} else {
zrUtil.isArray(item) && item.unshift(index);
}
});
var defaultValueDimensions = this.defaultValueDimensions;
......@@ -121,4 +125,4 @@ define(function(require) {
seriesModelMixin: seriesModelMixin,
viewMixin: viewMixin
};
});
\ No newline at end of file
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册