fix 优化

This commit is contained in:
duanliang
2024-12-20 17:47:18 +08:00
parent 1d12c5211d
commit fd01dd6f66

View File

@@ -400,9 +400,9 @@
})
const optionLine = ref({
backgroundColor:'transparent',
height:fitChartSize(240),
height:'90%',
grid:{
top:'30',
top:'20',
bottom:'0',
left:'4%',
containLabel: true,
@@ -465,7 +465,18 @@
symbol:['none','none'],
label:{show:false}
},
areaStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: 'rgba(125, 231, 255, 0.1)'
},
{
offset: 1,
color: 'rgba(0, 157, 255, 0.1)'
}
])
},
lineStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
{
@@ -582,8 +593,9 @@
}
.box{
width:100%;
height:vh(300);
height:vh(250);
display: flex;
margin-top:vh(30);
.chart-1{
flex: 1;
}