提交 4713b0f2 编写于 作者: S sushuang

Fix stack.

上级 ee5d23b2
......@@ -30,12 +30,12 @@ export default function (seriesType) {
var point;
if (dimLen === 1) {
var x = data.get(dims[0], i);
var x = data.get(dims[0], i, true);
point = isNaN(x) && coordSys.dataToPoint(x, null, tmpOut);
}
else {
var x = tmpIn[0] = data.get(dims[0], i);
var y = tmpIn[1] = data.get(dims[1], i);
var x = tmpIn[0] = data.get(dims[0], i, true);
var y = tmpIn[1] = data.get(dims[1], i, true);
// Also {Array.<number>}, not undefined to avoid if...else... statement
point = !isNaN(x) && !isNaN(y) && coordSys.dataToPoint(tmpIn, tmpOut);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册