|
@@ -186,6 +186,7 @@ function Hot() {
|
|
|
allNum4 += v.pcs;
|
|
|
});
|
|
|
setAllNum4(allNum4);
|
|
|
+
|
|
|
// 左边饼图配置文件
|
|
|
const data4Obj = {
|
|
|
legend: { left: "center", bottom: 20 },
|
|
@@ -221,9 +222,10 @@ function Hot() {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
// 右边饼图配置文件
|
|
|
const data7Obj = {
|
|
|
- legend: { left: "center", bottom: 5 },
|
|
|
+ legend: { left: "center", top: 280 },
|
|
|
series: { center: ["50%", "35%"], radius: ["40%", "60%"] },
|
|
|
};
|
|
|
echartsFu2("#echarts7", data7, data7Obj);
|