更改大屏和三个屏幕的分辨率
This commit is contained in:
@ -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: {
|
||||
//渐变色
|
||||
|
||||
Reference in New Issue
Block a user