< hr >
this.EChart.setOption({
tooltip: {
trigger: "none",
formatter: "{b}: {c} ({d}%)"
},
backgroundColor:"-sharpffffff",
title: [{
text: "",
left: "49%",
top: "48%",
textAlign: "center",
textBaseline: "middle",
textStyle: {
color: "-sharp000",
fontWeight: "bold",
fontSize: 23
}
}, {
text: "",
left: "49%",
top: "55%",
textAlign: "center",
textBaseline: "middle",
textStyle: {
color: "-sharp000",
fontWeight: "normal",
fontSize: 12
}
}],
series: [{
hoverAnimation: false, //
radius: ["55%", "75%"],
name: "pie",
type: "pie",
center:["50%", "50%"],
selectedMode: false,
selectedOffset: 0, //
clockwise: true,
startAngle: 90,
label: {
normal: {
show: false
}
},
labelLine: {
normal: {
show: false
}
},
itemStyle: {
normal: {
borderWidth: 0,
borderColor: "-sharpffffff",
},
emphasis: {
borderWidth: 0,
shadowBlur: 5,
shadowOffsetX: 0,
shadowColor: "rgba(0, 0, 0, 0.2)"
}
},
data: []
}],
grid: {
top:0,
bottom:0,
// show: true
}
});