This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch fix/line-animation
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 7d02d5cc79f806f48e8b98840eefde2ac9dbd537
Author: plainheart <[email protected]>
AuthorDate: Fri Aug 4 13:46:25 2023 +0800

    fix(line): fix line may cross when animation is enabled. (brought by 
apache/echarts#18032)
---
 src/chart/line/LineView.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chart/line/LineView.ts b/src/chart/line/LineView.ts
index 435fa2a90..9672eb720 100644
--- a/src/chart/line/LineView.ts
+++ b/src/chart/line/LineView.ts
@@ -644,7 +644,7 @@ class LineView extends ChartView {
 
         const lineGroup = this._lineGroup;
 
-        const hasAnimation = !ecModel.ssr && seriesModel.isAnimationEnabled();
+        const hasAnimation = !ecModel.ssr && seriesModel.get('animation');
 
         const isAreaChart = !areaStyleModel.isEmpty();
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to