This commit is contained in:
lnn19986213 2024-04-19 09:12:00 +08:00
parent c67b48b36e
commit e3b5ddccfc
1 changed files with 23 additions and 22 deletions

View File

@ -50,6 +50,28 @@ const getOption = () => {
// formatter: "{a} <br/>{b} : {c} ({d}%)", // formatter: "{a} <br/>{b} : {c} ({d}%)",
}, },
series: [ series: [
//
{
type: "pie",
center: ["50%", "50%"],
radius: ["60%", "82%"],
hoverAnimation: false,
clockWise: false,
itemStyle: {
normal: {
borderWidth: 1,
borderColor: "rgba(193, 229, 255, .1)",
color: "rgba(14, 59, 123, 0.60)",
},
},
tooltip: {
show: false,
},
label: {
show: false,
},
data: [100],
},
/*内心原型图,展示整体数据概览*/ /*内心原型图,展示整体数据概览*/
{ {
name: data.namea, name: data.namea,
@ -103,28 +125,7 @@ const getOption = () => {
}, },
data: data.list, data: data.list,
}, },
//
{
type: "pie",
center: ["50%", "50%"],
radius: ["50%", "82%"],
hoverAnimation: false,
clockWise: false,
itemStyle: {
normal: {
borderWidth: 1,
borderColor: "rgba(193, 229, 255, .1)",
color: "rgba(14, 59, 123, 0.60)",
},
},
tooltip: {
show: false,
},
label: {
show: false,
},
data: [100],
},
], ],
}; };
}; };