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/13 03:46:25 UTC

[incubator-echarts] branch next updated: fix(bar): fix NaN value will appear after update.

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 2cdee9c  fix(bar): fix NaN value will appear after update.
2cdee9c is described below

commit 2cdee9c1383be2ffa7b68e15176da6800d560891
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Oct 13 11:46:06 2020 +0800

    fix(bar): fix NaN value will appear after update.
---
 src/chart/bar/BarView.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/chart/bar/BarView.ts b/src/chart/bar/BarView.ts
index 1a90af0..8f5d68a 100644
--- a/src/chart/bar/BarView.ts
+++ b/src/chart/bar/BarView.ts
@@ -349,6 +349,7 @@ class BarView extends ChartView {
                 if (!data.hasValue(newIndex)) {
                     group.remove(el);
                     el = null;
+                    return;
                 }
 
                 let isClipped = false;


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