fix 优化
This commit is contained in:
@@ -400,9 +400,9 @@
|
|||||||
})
|
})
|
||||||
const optionLine = ref({
|
const optionLine = ref({
|
||||||
backgroundColor:'transparent',
|
backgroundColor:'transparent',
|
||||||
height:fitChartSize(240),
|
height:'90%',
|
||||||
grid:{
|
grid:{
|
||||||
top:'30',
|
top:'20',
|
||||||
bottom:'0',
|
bottom:'0',
|
||||||
left:'4%',
|
left:'4%',
|
||||||
containLabel: true,
|
containLabel: true,
|
||||||
@@ -465,7 +465,18 @@
|
|||||||
symbol:['none','none'],
|
symbol:['none','none'],
|
||||||
label:{show:false}
|
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: {
|
lineStyle: {
|
||||||
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
|
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
|
||||||
{
|
{
|
||||||
@@ -582,8 +593,9 @@
|
|||||||
}
|
}
|
||||||
.box{
|
.box{
|
||||||
width:100%;
|
width:100%;
|
||||||
height:vh(300);
|
height:vh(250);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin-top:vh(30);
|
||||||
.chart-1{
|
.chart-1{
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user