更新重点人员大屏

This commit is contained in:
2025-04-15 18:56:50 +08:00
parent ed4849b193
commit 2703819710
8 changed files with 362 additions and 21 deletions

View File

@ -25,7 +25,7 @@ function chartFn() {
grid: {
top: "8%",
right: "2%",
left: "2%",
left: "10%",
bottom: "7%",
containLabel:true
},
@ -46,15 +46,14 @@ function chartFn() {
xAxis: {
type: "category",
data:props.data.map(v=>{return v.label}),
boundaryGap: false,
axisTick: {
show: false
},
axisLine: {
show: false
},
axisTick: { show: false },
axisLine: { show: false },
axisLabel: { color: "#fff" },
axisLabel: {
show: false
show: true,
color: "#fff",
interval: 0, // 强制显示所有标签
// rotate: 15, // 标签旋转角度
}
},
yAxis: {
@ -66,22 +65,16 @@ function chartFn() {
color: "rgba(14,95,255,0.5)"
}
},
axisTick: {
show: false
},
axisLine: {
show: false
},
axisLabel: {
show:false
},
axisTick: { show: false },
axisLine: { show: false },
axisLabel: { color: "#fff" },
},
series: [
{
type: "line",
smooth:true,
showSymbol:false,
data: props.data.map(v=>{return v.val}),
data: props.data.map(v=>{return v.value}),
areaStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{