Skip to content

Commit

Permalink
fix(plugin-chart-echarts): make filtered pie slices semi-transparent (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored and zhaoyongjie committed Nov 26, 2021
1 parent ea1d95e commit 8e8a221
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default function transformProps(chartProps: EchartsPieChartProps): PieCha
name,
itemStyle: {
color: colorFn(name),
opacity: isFiltered ? OpacityEnum.Transparent : OpacityEnum.NonTransparent,
opacity: isFiltered ? OpacityEnum.SemiTransparent : OpacityEnum.NonTransparent,
},
};
});
Expand Down

0 comments on commit 8e8a221

Please sign in to comment.