未验证 提交 077b7392 编写于 作者: Y Yi Shen 提交者: GitHub

Merge pull request #12264 from apache/fix-sunburst-default-downplay

fix(sunburst): default sunburst downplay not work.
...@@ -105,8 +105,7 @@ export default SeriesModel.extend({ ...@@ -105,8 +105,7 @@ export default SeriesModel.extend({
align: 'center', align: 'center',
position: 'inside', position: 'inside',
distance: 5, distance: 5,
silent: true, silent: true
emphasis: {}
}, },
itemStyle: { itemStyle: {
borderWidth: 1, borderWidth: 1,
...@@ -116,13 +115,19 @@ export default SeriesModel.extend({ ...@@ -116,13 +115,19 @@ export default SeriesModel.extend({
shadowColor: 'rgba(0, 0, 0, 0.2)', shadowColor: 'rgba(0, 0, 0, 0.2)',
shadowOffsetX: 0, shadowOffsetX: 0,
shadowOffsetY: 0, shadowOffsetY: 0,
opacity: 1, opacity: 1
emphasis: {}, },
highlight: { highlight: {
itemStyle: {
opacity: 1 opacity: 1
}
},
downplay: {
itemStyle: {
opacity: 0.5
}, },
downplay: { label: {
opacity: 0.9 opacity: 0.6
} }
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册