修改 echart样式

This commit is contained in:
guanj
2025-12-04 10:33:48 +08:00
parent 3accaf3079
commit 43caddffa3
3 changed files with 15 additions and 77 deletions

View File

@@ -302,34 +302,17 @@ const tableStore: any = new TableStore({
type: 'category',
name: '特征幅值',
data: xLabels,
axisLine: {
lineStyle: {
color: '#111'
}
},
axisLabel: {
color: '#111'
}
nameGap: 40,
},
yAxis3D: {
type: 'category',
name: '持续时间',
data: yLabels,
nameTextStyle: {
color: '#111'
},
axisLine: {
show: true,
lineStyle: {
color: '#111'
}
},
axisLabel: {
color: '#111'
},
nameGap: 40,
splitLine: {
lineStyle: {
color: ['#111'],
type: 'dashed',
opacity: 0.5
}
@@ -337,15 +320,16 @@ const tableStore: any = new TableStore({
},
zAxis3D: {
type: 'value',
splitNumber: 10,
minInterval: 10,
name: '暂态事件次数'
name: '暂态事件次数',
nameGap: 30,
},
grid3D: {
viewControl: {
projection: 'perspective',
distance: 250
},
boxWidth: 200,
boxDepth: 80,
light: {
@@ -369,20 +353,8 @@ const tableStore: any = new TableStore({
borderWidth: 1
}
},
itemStyle: {
opacity: 1
},
emphasis: {
label: {
textStyle: {
fontSize: 20,
color: '#900'
}
},
itemStyle: {
color: '#900'
}
}
}
]
}