This commit is contained in:
姚宇浩 2024-06-14 11:58:03 +08:00
parent 2fde8401e9
commit 00b1554bc5
1 changed files with 23 additions and 4 deletions

View File

@ -194,7 +194,15 @@ const option = {
xAxis: [
{
type: "category",
data: ["小奔通", "两慢病", "水费", "就业招工", "零工市厂匹配", "医保", "交通出行"],
data: [
"小奔通",
"两慢病",
"水费",
"就业招工",
"零工市厂匹配",
"医保",
"交通出行",
],
axisLine: {
show: false,
},
@ -207,11 +215,22 @@ const option = {
show: true,
color: "#fff",
fontSize: 16,
formatter: function (value) {
return value.length > 2 ? value.slice(0, 2) + "..." : value;
},
},
},
{
type: "category",
data: ["小奔通", "两慢病", "水费", "就业招工", "零工市厂匹配", "医保", "交通出行"],
data: [
"小奔通",
"两慢病",
"水费",
"就业招工",
"零工市厂匹配",
"医保",
"交通出行",
],
axisLine: {
show: false,
},
@ -419,7 +438,7 @@ const option = {
xAxisIndex: 1,
label: {
show: true,
fontSize:18,
fontSize: 18,
position: "top",
color: "#ffffff",
formatter: function (data) {
@ -430,7 +449,7 @@ const option = {
color: "rgba(221, 242, 255, 0)",
},
data: valueList.map((item) => item+5),
data: valueList.map((item) => item + 5),
barWidth: 20,
},
],