You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/02/24 19:33:42 UTC

[incubator-echarts] branch fix/treemap-highdown created (now f5a8a35)

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

sushuang pushed a change to branch fix/treemap-highdown
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


      at f5a8a35  fix: fix treemap throw brought by a9ee949d5172c3283e7de8400f59f35bfa448705

This branch includes the following new commits:

     new f5a8a35  fix: fix treemap throw brought by a9ee949d5172c3283e7de8400f59f35bfa448705

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-echarts] 01/01: fix: fix treemap throw brought by a9ee949d5172c3283e7de8400f59f35bfa448705

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch fix/treemap-highdown
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit f5a8a350b85148489af8aac161615c373c33fdb9
Author: 100pah <su...@gmail.com>
AuthorDate: Tue Feb 25 03:32:37 2020 +0800

    fix: fix treemap throw brought by a9ee949d5172c3283e7de8400f59f35bfa448705
---
 src/chart/treemap/TreemapView.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/chart/treemap/TreemapView.js b/src/chart/treemap/TreemapView.js
index 51ee27a..2217507 100644
--- a/src/chart/treemap/TreemapView.js
+++ b/src/chart/treemap/TreemapView.js
@@ -779,9 +779,10 @@ function renderNode(
             // If invisible, do not set visual, otherwise the element will
             // change immediately before animation. We think it is OK to
             // remain its origin color when moving out of the view window.
-            processInvisible(content);
+            processInvisible(bg);
         }
         else {
+            bg.invisible = false;
             var visualBorderColor = thisNode.getVisual('borderColor', true);
             var emphasisBorderColor = itemStyleEmphasisModel.get('borderColor');
             var normalStyle = getItemStyleNormal(itemStyleNormalModel);
@@ -832,6 +833,7 @@ function renderNode(
             processInvisible(content);
         }
         else {
+            content.invisible = false;
             var visualColor = thisNode.getVisual('color', true);
             var normalStyle = getItemStyleNormal(itemStyleNormalModel);
             normalStyle.fill = visualColor;


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