-
Notifications
You must be signed in to change notification settings - Fork 19.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Pie Chart - setting "minShowLabelAngle" in "media" cause label line artifacts #16436
Comments
@j-zielinski Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , or https://codesandbox.io/s/mystifying-bash-2uthz. |
Sorry I can't open the link you provided. Please save it at the above links mentioned by the bot. |
@Ovilia I just wanted to let you know that this bug still occurs in 5.3.0. |
在官网的demo中就可以复现这个问题。 链接: https://echarts.apache.org/examples/zh/editor.html?c=pie-simple 请使用下面的JS代码来复现: option = {
title: {
text: 'Referer of a Website',
subtext: 'Fake Data',
left: 'center'
},
tooltip: {
trigger: 'item'
},
legend: {
orient: 'vertical',
left: 'left'
},
series: [
{
name: 'Access From',
type: 'pie',
radius: '50%',
// 修改这个值的大小来复现问题
minShowLabelAngle: 30,
data: [
{ value: 1048, name: 'Search Engine' },
{ value: 735, name: 'Direct' },
{ value: 580, name: 'Email' },
{ value: 484, name: 'Union Ads' },
{ value: 300, name: 'Video Ads' }
],
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
}
}
]
}; |
@Ovilia any update on this ? |
Version
5.2.2, 5.3.0-rc.1
Link to Minimal Reproduction
https://codesandbox.io/s/recursing-torvalds-tjuxw?file=/src/index.js
Steps to Reproduce
Current Behavior
Expected Behavior
If label is not visible anymore, corresponding line should also disappear.
Environment
Any additional comments?
Code:
The text was updated successfully, but these errors were encountered: