From ff3955b9fce37c755b7101b734d0330cba870848 Mon Sep 17 00:00:00 2001 From: kener Date: Wed, 23 Jul 2014 17:16:48 +0800 Subject: [PATCH] fixed #394 --- src/chart/line.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/line.js b/src/chart/line.js index 58d85e5d4b..40e12852d3 100644 --- a/src/chart/line.js +++ b/src/chart/line.js @@ -916,7 +916,7 @@ define(function (require) { seriesIndex = this.shapeList[i]._seriesIndex; if (aniMap[seriesIndex] && !aniMap[seriesIndex][3]) { // 有数据删除才有移动的动画 - if (this.shapeList[i]._main) { + if (this.shapeList[i]._main && this.shapeList[i].style.pointList.length > 1) { pointList = this.shapeList[i].style.pointList; // 主线动画 dx = Math.abs(pointList[0][0] - pointList[1][0]);