提交 01411b54 编写于 作者: K kener

K线dataZoom判断

上级 b9721b0d
......@@ -740,7 +740,9 @@ define(function (require) {
length = data.length;
start = Math.floor(this._zoom.start / 100 * length);
end = Math.ceil(this._zoom.end / 100 * length);
if (!(this.option[key][idx].data[0] instanceof Array)) {
if (!(this.option[key][idx].data[0] instanceof Array)
|| this.option[key][idx].type == ecConfig.CHART_TYPE_K
) {
this.option[key][idx].data = data.slice(start, end);
}
else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册