option = {
tooltip: {
show:false,
},
series: [
{
color:['#00c7e4','#ececec'],
type:'pie',
radius: ['80', '95'],
avoidLabelOverlap: false,
label: {
normal: {
show: true,
position: 'center'
}
},
data: [{
value: 98,
label: {
normal: {
formatter: '{a|{c}} {b|分} ',
rich: {
a: {
color: '#00c7e4',
fontSize: 70,
verticalAlign:'bottom',
},
b: {
color: '#00c7e4',
fontSize: 26,
verticalAlign:'bottom',
padding: [6, 0],
},
}
}
},
}, {
value: 2,
name:'分',
label: {
normal: {
show:false,
fontSize: 14,
color: '#dd680a',
position: 'center',
}
}
}],
},
]
};
echert:rich
猜你喜欢
转载自blog.csdn.net/weixin_41143662/article/details/84304424
今日推荐
周排行