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/03/10 08:04:07 UTC

[incubator-echarts] branch fix-sunburst-default-downplay created (now ad8e5f7)

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

shenyi pushed a change to branch fix-sunburst-default-downplay
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


      at ad8e5f7  fix: fix sunburst default downplay style

This branch includes the following new commits:

     new ad8e5f7  fix: fix sunburst default downplay style

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 sunburst default downplay style

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

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

commit ad8e5f75827f490bed75bdfe8c58adf901164acb
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Mar 10 16:03:28 2020 +0800

    fix: fix sunburst default downplay style
---
 src/chart/sunburst/SunburstSeries.js | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/chart/sunburst/SunburstSeries.js b/src/chart/sunburst/SunburstSeries.js
index e3b192e..0ae1fdc 100644
--- a/src/chart/sunburst/SunburstSeries.js
+++ b/src/chart/sunburst/SunburstSeries.js
@@ -116,13 +116,19 @@ export default SeriesModel.extend({
             shadowColor: 'rgba(0, 0, 0, 0.2)',
             shadowOffsetX: 0,
             shadowOffsetY: 0,
-            opacity: 1,
-            emphasis: {},
-            highlight: {
+            opacity: 1
+        },
+        highlight: {
+            itemStyle: {
                 opacity: 1
+            }
+        },
+        downplay: {
+            itemStyle: {
+                opacity: 0.5
             },
-            downplay: {
-                opacity: 0.9
+            label: {
+                opacity: 0.5
             }
         },
 


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