Skip to content
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

pie label 圆环中间显示内容重叠 Overlaps in the middle of the circle (text appears at the bottom)-Echart4-pie #13508

Closed
smile-xm opened this issue Oct 29, 2020 · 2 comments

Comments

@smile-xm
Copy link

option = {
tooltip: {
trigger: 'item',
formatter: '{a}
{b}: {c} ({d}%)'
},
legend: {
orient: 'vertical',
left: 10,
data: ['直接访问', '邮件营销', '联盟广告', '视频广告', '搜索引擎']
},
series: [
{
name: '访问来源',
type: 'pie',
radius: ['50%', '70%'],
avoidLabelOverlap: false,
label: {
show: false,
position: 'center',
normal: {
show: true,
position: 'center',
textStyle: {
fontSize: '14',
color: '#333'
}, formatter: '{c}\n{b}'
}
},
emphasis: {
label: {
show: true,
fontSize: '30',
fontWeight: 'bold'
}
},
labelLine: {
show: false
},
data: [
{value: 335, name: '直接访问'},
{value: 310, name: '邮件营销'},
{value: 234, name: '联盟广告'},
{value: 135, name: '视频广告'},
{value: 1548, name: '搜索引擎'}
]
}
]
};

@echarts-bot echarts-bot bot added the invalid label Oct 29, 2020
@echarts-bot
Copy link

echarts-bot bot commented Oct 29, 2020

This issue is not created using issue template so I'm going to close it. 🙊
Sorry for this, but it helps save our maintainers' time so that more developers get helped.
Feel free to create another issue using the issue template.

If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.

这个 issue 未使用 issue 模板 创建,所以我将关闭此 issue。
为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
如果您愿意,请使用 issue 模板重新创建 issue。

如果您认为虽然没有使用模板,但您已经提供了复现问题的充分描述,或者您的问题无法使用模板表达,也可以重新 open 这个 issue。

@echarts-bot echarts-bot bot closed this as completed Oct 29, 2020
@smile-xm
Copy link
Author

This problem occurred echarts4 pie

@smile-xm smile-xm changed the title pie label 圆环中间显示内容重叠 Overlaps in the middle of the circle (text appears at the bottom) pie label 圆环中间显示内容重叠 Overlaps in the middle of the circle (text appears at the bottom)-Echart4-pie Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant