You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2020/04/20 09:42:39 UTC

[incubator-echarts] 01/01: fix(sunburst): lift sunburst with higher z2 on emphasis

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

ovilia pushed a commit to branch fix-sunburst-hover
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 900ae6b49e18fab020e659d4e7ff6f6db03b882b
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Apr 20 17:41:37 2020 +0800

    fix(sunburst): lift sunburst with higher z2 on emphasis
---
 src/chart/sunburst/SunburstPiece.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/chart/sunburst/SunburstPiece.js b/src/chart/sunburst/SunburstPiece.js
index 79ca4c3..f64e5ab 100644
--- a/src/chart/sunburst/SunburstPiece.js
+++ b/src/chart/sunburst/SunburstPiece.js
@@ -158,6 +158,8 @@ SunburstPieceProto.updateData = function (
 
     this._seriesModel = seriesModel || this._seriesModel;
     this._ecModel = ecModel || this._ecModel;
+
+    graphic.setHoverStyle(this);
 };
 
 SunburstPieceProto.onEmphasis = function (highlightPolicy) {


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