You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2021/04/09 15:48:06 UTC

[echarts] 01/01: fix(sankey): make label in the front of rect, recover the change of #14417.

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

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

commit 9bbce3dbd51547c93ec02318cbc2420cc0a89efd
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Fri Apr 9 23:42:09 2021 +0800

    fix(sankey): make label in the front of rect, recover the change of #14417.
---
 src/chart/sankey/SankeyView.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/chart/sankey/SankeyView.ts b/src/chart/sankey/SankeyView.ts
index 5d317fe..480aeb5 100644
--- a/src/chart/sankey/SankeyView.ts
+++ b/src/chart/sankey/SankeyView.ts
@@ -250,7 +250,8 @@ class SankeyView extends ChartView {
                     width: layout.dx,
                     height: layout.dy
                 },
-                style: itemModel.getModel('itemStyle').getItemStyle()
+                style: itemModel.getModel('itemStyle').getItemStyle(),
+                z2: 10
             });
 
             setLabelStyle(

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