Browse Source

监控表单对齐3

Rgx 1 year ago
parent
commit
01646b9aa5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/modules/monitor/components/podView.vue

+ 3 - 3
src/views/modules/monitor/components/podView.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="gcharts" :id="id"></div>
 </template>
- 
+
 <script>
 import G2 from "@antv/g2";
 export default {
@@ -41,7 +41,7 @@ export default {
       if(this.charData.length !== 0){
       this.chart = new G2.Chart({
         container: this.id,
-        width: 810,
+        width: 510,
         height: 210,
       });
       this.chart.source(this.charData);
@@ -59,7 +59,7 @@ export default {
           type: "line",
         },
       });
-      
+
       this.chart.line().position("name*value")
         .color('type')
       .shape('smooth');