This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix/pie-animation in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/fix/pie-animation by this push: new bf32486 fix(pie): use startAngle instead of endAngle bf32486 is described below commit bf3248679fe2f14aa6b245a950f4d8ff8ac25d8d Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Fri Feb 15 12:28:00 2019 +0800 fix(pie): use startAngle instead of endAngle --- src/chart/pie/PieView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/pie/PieView.js b/src/chart/pie/PieView.js index 4c217b6..0b8be9e 100644 --- a/src/chart/pie/PieView.js +++ b/src/chart/pie/PieView.js @@ -353,7 +353,7 @@ var PieView = ChartView.extend({ && animationType !== 'scale' ) { var shape = data.getItemLayout(0); - for (let s = 1; isNaN(shape.endAngle) && s < data.count(); ++s) { + for (var s = 1; isNaN(shape.startAngle) && s < data.count(); ++s) { shape = data.getItemLayout(s); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org