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:57:44 UTC

[incubator-echarts] branch next updated: fix(step): fix middle step line wrong

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 8db1c20  fix(step): fix middle step line wrong
8db1c20 is described below

commit 8db1c208215a57ffc769a73f5f5b8f72333132a8
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Oct 21 12:57:27 2020 +0800

    fix(step): fix middle step line wrong
---
 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 538970e..17a7b27 100644
--- a/src/chart/line/LineView.ts
+++ b/src/chart/line/LineView.ts
@@ -171,7 +171,7 @@ function turnPointsIntoStep(
                 stepPt[1 - baseIndex] = pt[1 - baseIndex];
                 stepPt2[1 - baseIndex] = nextPt[1 - baseIndex];
                 stepPoints.push(stepPt[0], stepPt[1]);
-                stepPoints.push(stepPt2[0], stepPt[1]);
+                stepPoints.push(stepPt2[0], stepPt2[1]);
                 break;
             default:
                 // default is start


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