pissang opened a new issue #15242:
URL: https://github.com/apache/echarts/issues/15242
### Version
5.1.2
### Steps to reproduce
```ts
option = {
series: [
{
name: '访问来源',
type: 'pie',
radius: ['40%', '70%'],
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 10
},
label: {
show: false
},
data: [
{value: 1048, name: '搜索引擎'},
{value: 735, name: '直接访问'},
{value: 580, name: '邮件营销'},
{value: 484, name: '联盟广告'},
{value: 300, name: '视频广告'}
]
}
]
};
setTimeout(function() {
myChart.setOption({
series: {
itemStyle: {
borderRadius: null
}
}
})
}, 1000);
```
It's more like a bug when we using `notMerge` mode and not set cornerRadius
at the second `setOption`.
### What is expected?
cornerRadius is removed
### What is actually happening?
cornerRadius is kept.
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]