Explorar el Código

首页设备数量统计 图例右移

“hanlingqiang hace 2 años
padre
commit
28fb845a00
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/views/index.vue

+ 3 - 2
src/views/index.vue

@@ -151,7 +151,8 @@ const setBar1 = (dataObj:object) => {
       type: 'plain',
       type: 'plain',
       show: 'true',
       show: 'true',
       height: '100%',
       height: '100%',
-      right: '8%',
+      left:'45%',
+      // right: '1%',
       top: 0,
       top: 0,
       bottom: 0,
       bottom: 0,
       orient: 'vertical',
       orient: 'vertical',
@@ -179,7 +180,7 @@ const setBar1 = (dataObj:object) => {
             padding: [0, 0, 0, 5]
             padding: [0, 0, 0, 5]
           },
           },
           b: {
           b: {
-            width: 80,
+            width: 70,
             color: 'rgba(0, 11, 25, 1)',
             color: 'rgba(0, 11, 25, 1)',
             align: 'left',
             align: 'left',
             fontSize: 18,
             fontSize: 18,