|
@@ -487,7 +487,7 @@ export default {
|
|
|
};
|
|
|
statistics.setOption(option4);
|
|
|
window.onresize = function() {
|
|
|
-
|
|
|
+ statistics.resize();
|
|
|
};
|
|
|
},
|
|
|
drawLine3(){
|
|
@@ -551,7 +551,9 @@ export default {
|
|
|
]
|
|
|
};
|
|
|
channel.setOption(option3);
|
|
|
-
|
|
|
+ window.onresize = function() {
|
|
|
+ channel.resize();
|
|
|
+ };
|
|
|
},
|
|
|
|
|
|
drawLine1(){
|
|
@@ -614,6 +616,9 @@ export default {
|
|
|
]
|
|
|
}
|
|
|
user.setOption(option1);
|
|
|
+ window.onresize = function() {
|
|
|
+ user.resize();
|
|
|
+ };
|
|
|
},
|
|
|
}
|
|
|
}
|
|
@@ -712,14 +717,12 @@ export default {
|
|
|
.card2{
|
|
|
height:calc(100vh - 630px);
|
|
|
.contain{
|
|
|
- margin: auto;
|
|
|
+ margin:15px auto;
|
|
|
text-align: left;
|
|
|
- vertical-align: middle;
|
|
|
display: flex;
|
|
|
.box-card{
|
|
|
padding:40px 0;
|
|
|
flex:2;
|
|
|
- margin-top:10%;
|
|
|
.left{
|
|
|
width:30%;
|
|
|
display: inline-block;
|