Commit 9d819237 by 延飞 李

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

parent 5d8b76d7
......@@ -178,7 +178,7 @@
loading: false,
currentDate: moment().format("YYYY/MM/DD"),
// dwsURL: "https://workstation.rokeris.com", // 基地址
dwsURL: "", // 基地址
dwsURL: "", // 基地址
baseURL: "https://dws-platform.xbg.rokeris.com/dev-api", // 基地址
factory_code: "", // 工厂编码
// 产线数据
......@@ -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