Commit 9d819237 by 延飞 李

OEE 时间使用率分析饼状图百分比显示优化

parent 5d8b76d7
......@@ -769,11 +769,18 @@
type: "pie",
radius: ["40%", "70%"],
avoidLabelOverlap: true,
label: {
show: true,
position: "outside",
formatter: "{b}({d}%)",
color: "#fff",
fontSize: 12,
},
emphasis: {
label: {
show: true,
position: "outside",
formatter: "{d}%",
formatter: "{b}({d}%)",
color: "#fff",
fontSize: 12,
},
......@@ -965,11 +972,18 @@
type: "pie",
avoidLabelOverlap: true, // 自动调整标签避免重叠
radius: ["40%", "70%"],
label: {
show: true,
position: "outside",
formatter: "{b}({d}%)",
color: "#fff",
fontSize: 12,
},
emphasis: {
label: {
show: true,
position: "outside",
formatter: "{d}%",
formatter: "{b}({d}%)",
color: "#fff",
fontSize: 12,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment