Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@fanwww

Description

@fanwww

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions