Browse Source

次元看板--调整,样式,柱状图label 显示位置

xiaost 1 year ago
parent
commit
0d9a739551

+ 1 - 1
src/components/prodlinechart/bottom1Chart/chart.vue

@@ -99,7 +99,7 @@ export default {
             data:[],
             label: {
               show: true,
-              position: 'inside',
+              position: 'top',
               fontSize:14,
               fontWeight: "bold",
               color:"inherit",

+ 9 - 2
src/components/prodlinechart/bottom2Chart/chart.vue

@@ -102,7 +102,7 @@ export default {
               position: 'inside',
               fontSize:14,
               fontWeight: "bold",
-              color:'#19be6b',
+              color:'#fff',
             },
           },
           {
@@ -114,7 +114,14 @@ export default {
             //data: [12, 22, 32, 12, 32, 12, 32],
             emphasis: {
               focus: 'series'
-            }
+            },
+            label: {
+              show: true,
+              position: 'top',
+              fontSize:14,
+              fontWeight: "bold",
+              color:'inherit',
+            },
           },
           {
             name: 'UPPH',

+ 1 - 1
src/components/shopechart/bottom1Chart/chart.vue

@@ -107,7 +107,7 @@ export default {
             data:[],
             label: {
               show: true,
-              position: 'inside',
+              position: 'top',
               fontSize:14,
               fontWeight: "bold",
               color:"inherit",

+ 11 - 2
src/components/shopechart/bottom2Chart/chart.vue

@@ -107,7 +107,8 @@ export default {
               position: 'inside',
               fontSize:14,
               fontWeight: "bold",
-              color:"inherit",
+             // color:"inherit",
+              color:'#fff'
             },
           },
           {
@@ -115,6 +116,13 @@ export default {
             type: 'bar',
             stack: 'Ad',
             barWidth: 10,
+            label: {
+              show: true,
+              position: 'top',
+              fontSize:14,
+              fontWeight: "bold",
+              color:"inherit",
+            },
             data:[],
             //data: [12, 22, 32, 12, 32, 12, 32],
             emphasis: {
@@ -165,7 +173,8 @@ export default {
             emphasis: {
               focus: 'series'
             }
-          }, {
+          },
+          {
             name: 'UPH',
             type: 'line',
             barWidth: 15,

+ 1 - 1
src/components/zxshopechart/bottom1Chart/chart.vue

@@ -107,7 +107,7 @@ export default {
             data:[],
             label: {
               show: true,
-              position: 'inside',
+              position: 'top',
               fontSize:14,
               fontWeight: "bold",
               color:"inherit",

+ 7 - 2
src/components/zxshopechart/bottom2Chart/chart.vue

@@ -107,7 +107,7 @@ export default {
               position: 'inside',
               fontSize:14,
               fontWeight: "bold",
-              color:"inherit",
+              color:"fff",
             },
           },
           {
@@ -119,7 +119,12 @@ export default {
             //data: [12, 22, 32, 12, 32, 12, 32],
             emphasis: {
               focus: 'series'
-            }
+            },
+            label: {
+              show: true,
+              position: 'top',
+              color:'inherit'
+            },
           },
           {
             name: 'UPPH',

+ 1 - 1
src/views/quality/bottom3.vue

@@ -126,7 +126,7 @@ $box-width: 100%;
         font-size: 20px;
       }
       .dv-scroll-board {
-        height: 200px;
+        height: 190px;
       }
     }
   }