This commit is contained in:
姚宇浩 2024-05-24 15:19:26 +08:00
parent 91b2631696
commit bf154a0bd8
3 changed files with 16 additions and 77 deletions

View File

@ -106,14 +106,14 @@ const data1 = [
];
const option = {
legend: [
legend:
{
itemWidth: 10,
itemHeight: 10,
itemGap: 20,
itemGap: 10,
icon: "circle",
data: ["2.0收件数"],
bottom: "20%",
data: ["2.0收件数","",'总收件数'],
bottom: "3%",
width: 380,
textStyle: {
color: "#ffffff", //
@ -128,28 +128,7 @@ const option = {
return params + " " + num;
},
},
{
itemWidth: 10,
itemHeight: 10,
itemGap: 20,
icon: "circle",
data: ["总收件数"],
bottom: "5%",
width: 380,
textStyle: {
color: "#ffffff", //
},
formatter: function (params) {
var num = "";
for (let i = 0; i < dataList.length; i++) {
if (dataList[i].name == params) {
num = dataList[i].value;
}
}
return params + " " + num;
},
},
],
title: [
{
text: "90%",

View File

@ -100,14 +100,14 @@ const data1 = [
];
const option = {
legend: [
legend:
{
itemWidth: 10,
itemHeight: 10,
itemGap: 20,
itemGap: 10,
icon: "circle",
data: ["超期受理数"],
bottom: "20%",
data: ["超期受理数","",'应受理数'],
bottom: "3%",
textStyle: {
color: "#ffffff", //
@ -122,27 +122,8 @@ const option = {
return params + " " + num;
},
},
{
itemWidth: 10,
itemHeight: 10,
itemGap: 20,
icon: "circle",
data: ["应受理数"],
bottom: "5%",
textStyle: {
color: "#ffffff", //
},
formatter: function (params) {
var num = "";
for (let i = 0; i < dataList.length; i++) {
if (dataList[i].name == params) {
num = dataList[i].value;
}
}
return params + " " + num;
},
},
],
title: [
{
text: "90%",

View File

@ -100,14 +100,14 @@ const data1 = [
];
const option = {
legend: [
legend:
{
itemWidth: 10,
itemHeight: 10,
itemGap: 20,
itemGap: 10,
icon: "circle",
data: ["超期办理数"],
bottom: "20%",
data: ["超期办理数","","应办理数"],
bottom: "3%",
width: 380,
textStyle: {
color: "#ffffff", //
@ -122,28 +122,7 @@ const option = {
return params + " " + num;
},
},
{
itemWidth: 10,
itemHeight: 10,
itemGap: 20,
icon: "circle",
data: ["应办理数"],
bottom: "5%",
width: 380,
textStyle: {
color: "#ffffff", //
},
formatter: function (params) {
var num = "";
for (let i = 0; i < dataList.length; i++) {
if (dataList[i].name == params) {
num = dataList[i].value;
}
}
return params + " " + num;
},
},
],
title: [
{
text: "90%",