ソースを参照

调整冗余数据

yhluo 3 ヶ月 前
コミット
ff305374de

+ 29 - 28
src/components/assemblyechart/bottom/bottomRightChart/chart.vue

@@ -113,17 +113,18 @@ export default {
               color: '#fff',
               fontSize: 18
             },
-            top: 50,
-            left: 80
+            top: '5%',
+            left: 40
           },
           legend: {
             top: 120,
-            left: 80,
+            right: 80,
             orient: 'vertical',
             itemGap: 15,
             itemWidth: 14,
             itemHeight: 14,
-            data: ['实际','平均'],
+            // data: ['实际','平均'],
+            data: ['实际'],
             textStyle: {
               color: '#fff',
               fontSize: 16
@@ -233,30 +234,30 @@ export default {
               type: 'radar',
               symbolSize: 0,
               data: [
-                {
-                  value: newData.radarDataAvg,
-                  name: '平均',
-                  itemStyle: {
-                    normal: {
-                      color: '#f8d351'
-                    }
-                  },
-                /*  lineStyle: {
-                    normal: {
-                      opacity: 0
-                    }
-                  },*/
-                  areaStyle: {
-                    normal: {
-                      color: '#f8d351',
-                      shadowBlur: 25,
-                      shadowColor: 'rgba(248,211,81,.3)',
-                      shadowOffsetX: 0,
-                      shadowOffsetY: -10,
-                      opacity: 1
-                    }
-                  }
-                },
+                // {
+                //   value: newData.radarDataAvg,
+                //   name: '平均',
+                //   itemStyle: {
+                //     normal: {
+                //       color: '#f8d351'
+                //     }
+                //   },
+                // /*  lineStyle: {
+                //     normal: {
+                //       opacity: 0
+                //     }
+                //   },*/
+                //   areaStyle: {
+                //     normal: {
+                //       color: '#f8d351',
+                //       shadowBlur: 25,
+                //       shadowColor: 'rgba(248,211,81,.3)',
+                //       shadowOffsetX: 0,
+                //       shadowOffsetY: -10,
+                //       opacity: 1
+                //     }
+                //   }
+                // },
                 {
                   value: newData.radarData,
                   name: '实际',

+ 1 - 1
src/components/assemblyechart/centerRight/centerRightChart/chart.vue

@@ -1,7 +1,7 @@
 <template>
     <Echart
       :options="options"
-      id="centreRight2Chart1" style="width: 300px; height: 280px;position: absolute; left: 20%;"
+      id="centreRight2Chart1" style="width: 260px; height: 260px;position: absolute; left: 18%;"
     ></Echart>
 </template>