Explorar o código

修改制造首页饼状图样式

hezhanp hai 9 meses
pai
achega
709446bbc7
Modificáronse 1 ficheiros con 11 adicións e 11 borrados
  1. 11 11
      src/views/home/data.js

+ 11 - 11
src/views/home/data.js

@@ -222,19 +222,19 @@ export const pieOptions = (data) => {
       },
       trigger: 'item'
     },
-    legend: {
-      orient: 'horizontal',
-      left: 'right',
-      right: '15%',
-      bottom: '5%',
-      itemGap: window.innerHeight * 0.018,
-      textStyle: {
-        fontSize: window.innerHeight * 0.014
-      }
-    },
+    // legend: {
+    //   orient: 'horizontal',
+    //   left: 'right',
+    //   right: '15%',
+    //   bottom: '5%',
+    //   itemGap: window.innerHeight * 0.018,
+    //   textStyle: {
+    //     fontSize: window.innerHeight * 0.014
+    //   }
+    // },
     series: [
       {
-        center: ['50%', '40%'],
+        center: ['50%', '50%'],
         label: {
           position: 'outside',
           show: true,