my current effect
now I want the middle circle and the middle text. How do I achieve this?
my current configuration is like this
var optionFH = {
title: {
// text: "",
// subtext: "",
x: "center"
},
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b} : {c} ({d}%)"
},
legend: {
type: "scroll",
orient: "vertical",
right: 10,
top: 20,
bottom: 20,
data: ["11","22","33","44"],
selected:["11","22","33","44"],
},
color:["-sharp38AC6D","-sharpE54E55"],//
series: [{
name: "",
type: "pie",
radius: "55%",
// avoidLabelOverlap: false,
center: ["50%", "50%"],
data: [
{"name":"","value":489,selected:true},
{"name":"","value":689, selected:true},
],
itemStyle: {
emphasis: {
// shadowBlur: 10,
// shadowOffsetX: 100,
shadowColor: "rgba(0, 0, 0, 0.5)"
}
}
}]
}