Browse Source

修改驾驶舱页面x坐标轴样式

liling 2 days ago
parent
commit
13b2e62122

+ 2 - 2
src/views/dashboard/global/index.vue

@@ -928,7 +928,7 @@
                       type: 'category',
                       data: dates,
                       axisLabel: {
-                        rotate: 320,//坐标轴字体颜色
+                        rotate: 290,//坐标轴字体颜色
                         textStyle: {
                           color: '#242424',
                           fontSize: 12
@@ -1152,7 +1152,7 @@
                       type: 'category',
                       data: dates,
                       axisLabel: {
-                        rotate: 320,//坐标轴字体颜色
+                        rotate: 290,//坐标轴字体颜色
                         textStyle: {
                           color: '#242424',
                           fontSize: 12

+ 4 - 2
src/views/dashboard/global/index2.vue

@@ -727,7 +727,9 @@
                             textStyle: {
                                 color: 'rgb(27, 27, 27)',
                             },
-                            margin: 30,
+                            margin: 10,
+                            rotate: 290,
+                            fontSize:10,
                         },
                         interval: 1,
                     },
@@ -1161,7 +1163,7 @@
                     show: false,
                   },
                   axisLabel: {
-                    color: '#fff',
+                    color: '#fff',                    
                   },
                 },
                 yAxis: [

+ 4 - 4
src/views/dashboard/global/index3.vue

@@ -164,10 +164,10 @@
                       type: 'category',
                       data: months,
                       axisLabel: {
-                        rotate: 320,//坐标轴字体颜色
+                        rotate: 290,//坐标轴字体颜色
                         textStyle: {
                           color: '#242424',
-                          fontSize: 12
+                          fontSize: 10
                         }
                       },
                       axisLine: {
@@ -433,10 +433,10 @@
                       type: 'category',
                       data: months,
                       axisLabel: {
-                        rotate: 320,//坐标轴字体颜色
+                        rotate: 290,//坐标轴字体颜色
                         textStyle: {
                           color: '#242424',
-                          fontSize: 12
+                          fontSize: 10
                         }
                       },
                       axisLine: {