更改大屏和三个屏幕的分辨率

This commit is contained in:
2025-10-21 17:53:57 +08:00
parent 52535df2fb
commit 0f96d81ac0
12 changed files with 429 additions and 153 deletions

View File

@ -17,7 +17,7 @@ const option = {
top: "17%",
left: "15%",
right: "5%",
bottom: "10%"
bottom: "20%"
},
tooltip: {
trigger: "axis"
@ -28,7 +28,12 @@ const option = {
color: "#CBF2FA" // 文字颜色
}
},
axisLabel: {
fontSize: 14, // 设置 x 轴文字大小
color: "#CBF2FA", // 可以同时设置文字颜色
rotate: 30, // 文字倾斜45度
margin: 20 // 增加文字与轴线的距离
},
type: "category",
data: [
"1月",
@ -67,12 +72,13 @@ const option = {
type: "line",
showBackground: true,
barWidth: 8,
data: [38, 62, 52, 41, 37, 62, 52, 41, 67, 62, 52, 41],
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
// 设置柱状图的数值
label: {
show: true,
position: "top",
color: "#30DCFF"
color: "#30DCFF",
fontSize: 16
},
itemStyle: {
//渐变色