图形注释重叠
avoidLabelOverla
与center
series: [
{
name: '占比情况',
type: 'pie',
minAngle: 8,
radius: ['30%', '40%'],
center:['50%','40%'],
avoidLabelOverlap: true,
labelLine: {
show: true,
lineStyle: {
color: 'black',
},
},
label: {
show: true,
color: 'black',
avoidLabelOverlap: true,
formatter: '{b}: {d}% \n',
}