update 调整样式·

This commit is contained in:
zk
2024-06-17 11:56:02 +08:00
parent de77657b64
commit 778e350959
3 changed files with 14 additions and 6 deletions
+10 -2
View File
@@ -375,6 +375,7 @@ export function barOption(xData, ydata, theme) {
},
tooltip: {
show: true,
trigger: 'axis', // 触发类型为坐标轴
textStyle: {
color: '#fff',
},
@@ -391,7 +392,13 @@ export function barOption(xData, ydata, theme) {
...xAxisLabel,
},
axisLine: {
color: '#bac9e1',
lineStyle: {
type: 'solid',
color: '#8798d1',
},
},
axisTick: {
show: false,
},
},
yAxis: {
@@ -411,7 +418,7 @@ export function barOption(xData, ydata, theme) {
show: true,
lineStyle: {
type: 'dashed',
color: 'rgba(217, 231, 255, 0.2)',
color: '#a2add2',
},
},
min: 0,
@@ -424,6 +431,7 @@ export function barOption(xData, ydata, theme) {
barWidth: '20%',
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, itemStyle),
borderRadius: 12,
},
barMaxWidth: '10',
label: {