echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Changing the smooth attribute from true to false in the pie chart labelLine configuration item does not take effect

Open fanwww opened this issue 2 months ago • 1 comments

Version

6.0.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=pie-simple

Steps to Reproduce

把 labelLine.smooth从true改为false不生效 series: [ { name: 'Access From', type: 'pie', radius: '50%', data: [ { value: 1048, name: 'Search Engine' }, { value: 735, name: 'Direct' }, { value: 580, name: 'Email' }, { value: 484, name: 'Union Ads' }, { value: 300, name: 'Video Ads' } ], labelLine:{ smooth:true, }, emphasis: { itemStyle: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: 'rgba(0, 0, 0, 0.5)' } } } ]

Current Behavior

为false时.图表渲染后,通过界面操作把smooth修改为true,生效,之后再把smooth改为false就不生效了, 如果渲染时就是true,后续改为false也不会生效

Expected Behavior

为true时是曲线,false时是折线

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

fanwww avatar Dec 10 '25 01:12 fanwww

@fanwww It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] Changing the smooth attribute from true to false in the pie chart labelLine configuration item does not take effect

echarts-bot[bot] avatar Dec 10 '25 01:12 echarts-bot[bot]

This issue is labeled with difficulty: easy. @fanwww Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.

Please have a look at How to debug ECharts if you'd like to give a try. 🤓

echarts-bot[bot] avatar Dec 15 '25 02:12 echarts-bot[bot]