瀏覽代碼

图表y颜色

gcz 2 年之前
父節點
當前提交
76bb50367a

+ 7 - 1
src/dataSchema/page1Char1Schema.js

@@ -58,11 +58,17 @@ let page1Char1Schema = {
             color: "rgba(255, 255, 255, 1)",
             // interval: 0,//坐标刻度之间的显示间隔,默认就可以了(默认是不重叠)
             // rotate: 40,//斜着放
-        }
+        },
     },
     yAxis: {
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     series: [

+ 6 - 0
src/dataSchema/page1Char2Schema.js

@@ -59,6 +59,12 @@ let page1Char2Schema = {
     yAxis: {
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     series: [

+ 6 - 0
src/dataSchema/page2Char2Schema.js

@@ -33,6 +33,12 @@ let page2Char2Schema = {
         type: 'value',
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     xAxis: {

+ 6 - 0
src/dataSchema/page2Char3Schema.js

@@ -34,6 +34,12 @@ let page6Char1Schema = {
         type: 'value',
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     xAxis: {

+ 6 - 0
src/dataSchema/page5Char1Schema.js

@@ -62,6 +62,12 @@ let page5Char1Schema = {
     yAxis: {
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     series: [

+ 6 - 0
src/dataSchema/page5Char2Schema.js

@@ -65,6 +65,12 @@ let page5Char2Schema = {
     yAxis: {
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     series: [

+ 6 - 0
src/dataSchema/page6Char1Schema.js

@@ -33,6 +33,12 @@ let page6Char1Schema = {
         type: 'value',
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     xAxis: {

+ 6 - 0
src/dataSchema/page6Char2Schema.js

@@ -44,6 +44,12 @@ let page6Char2Schema = {
         type: 'value',
         axisLabel: {
             color: "rgba(255, 255, 255, 1)"
+        },
+        splitLine: {
+            show: true,
+            lineStyle: {
+                color: 'rgba(255,255,255,0.05)',
+            }
         }
     },
     series: [