update 调整样式·
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user