Skip to content

Commit

Permalink
fixed #394
Browse files Browse the repository at this point in the history
  • Loading branch information
kener committed Jul 23, 2014
1 parent 981342d commit ff3955b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/line.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit ff3955b

Please sign in to comment.