You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/10/21 04:55:13 UTC

[incubator-echarts] branch next updated: fix(line): fix animation wrong due to typo

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

shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/next by this push:
     new 812523c  fix(line): fix animation wrong due to typo
812523c is described below

commit 812523c917769dc51510ebe7801f9a0dfadb9035
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Oct 21 12:54:34 2020 +0800

    fix(line): fix animation wrong due to typo
---
 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 ea3ef74..538970e 100644
--- a/src/chart/line/LineView.ts
+++ b/src/chart/line/LineView.ts
@@ -1012,7 +1012,7 @@ class LineView extends ChartView {
                 const text = symbolPath.getTextContent();
 
                 el.attr({ scaleX: 0, scaleY: 0});
-                el.animateFrom({
+                el.animateTo({
                     scaleX: 1,
                     scaleY: 1
                 }, {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org