option = {
title: {
"x": '47%',
"y": '36%',
textAlign: "center",
"textStyle": {
"fontWeight": 'bold',
"fontSize": 30,
"color": 'black'
},
text: '6'
},
series: [{
"name": ' ',
"type": 'pie',
"radius": ['65%', '85%'],
"avoidLabelOverlap": false,
"startAngle": 225,
"color": ['#267CFF', "transparent"],
"hoverAnimation": false,
"legendHoverLink": false,
"label": {
"normal": {
"show": false,
"position": 'center'
},
"emphasis": {
"show": true,
"textStyle": {
"fontSize": '30',
"fontWeight": 'bold'
}
}
},
"z": 10,
"labelLine": {
"normal": {
"show": false
}
},
"data": [{
"value": 75,
"name": ''
}, {
"value": 25,
"name": ''
}]
}
]
};
效果圖: