Kaynağa Gözat

添加y轴虚线

l1448442195@163.com 1 yıl önce
ebeveyn
işleme
48a8509ceb
3 değiştirilmiş dosya ile 63 ekleme ve 15 silme
  1. 22 6
      manpower/js/index2.js
  2. 21 5
      manpower/js/index3.js
  3. 20 4
      manpower/js/index4.js

+ 22 - 6
manpower/js/index2.js

@@ -585,7 +585,11 @@ let app = new Vue({
             show: false,
           },
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -679,7 +683,11 @@ let app = new Vue({
             show: false,
           },
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -914,8 +922,12 @@ let app = new Vue({
           splitLine: {
             show: false,
           },
-          axisLine: {
-            show: false,
+          splitLine: {
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -1323,8 +1335,12 @@ let app = new Vue({
           splitLine: {
             show: false,
           },
-          axisLine: {
-            show: false,
+          splitLine: {
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,

+ 21 - 5
manpower/js/index3.js

@@ -584,7 +584,11 @@ let app = new Vue({
             show: false,
           },
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -678,7 +682,11 @@ let app = new Vue({
             show: false,
           },
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -914,8 +922,12 @@ let app = new Vue({
           splitLine: {
             show: false,
           },
-          axisLine: {
-            show: false,
+          splitLine: {
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -1348,7 +1360,11 @@ let app = new Vue({
       option.yAxis = [
         {
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLine: {
             show: false,

+ 20 - 4
manpower/js/index4.js

@@ -583,7 +583,11 @@ let app = new Vue({
             show: false,
           },
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -677,7 +681,11 @@ let app = new Vue({
             show: false,
           },
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLabel: {
             show: true,
@@ -912,7 +920,11 @@ let app = new Vue({
       option.yAxis = [
         {
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLine: {
             show: false,
@@ -1330,7 +1342,11 @@ let app = new Vue({
       option.yAxis = [
         {
           splitLine: {
-            show: false,
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
           },
           axisLine: {
             show: false,