浏览代码

曲线颜色

yuhan 1 年之前
父节点
当前提交
a3a769026e

+ 4 - 4
src/views/modules_guAn/visualization/modules/FullCurve.vue

@@ -247,7 +247,7 @@ export default {
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                   {
                   {
                     offset: 0,
                     offset: 0,
-                    color: 'rgb(227, 1, 6, 0)'
+                    color: 'rgba(227, 1, 6, .5)'
                   },
                   },
                   {
                   {
                     offset: 0.5,
                     offset: 0.5,
@@ -255,7 +255,7 @@ export default {
                   },
                   },
                   {
                   {
                     offset: 1,
                     offset: 1,
-                    color: 'rgb(227, 1, 6, 0)'
+                    color: 'rgba(227, 1, 6, 0.5)'
                   }
                   }
                 ])
                 ])
               }
               }
@@ -273,7 +273,7 @@ export default {
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                   {
                   {
                     offset: 0,
                     offset: 0,
-                    color: 'rgb(227, 145, 6, 0)'
+                    color: 'rgba(227, 145, 6, .5)'
                   },
                   },
                   {
                   {
                     offset: 0.5,
                     offset: 0.5,
@@ -281,7 +281,7 @@ export default {
                   },
                   },
                   {
                   {
                     offset: 1,
                     offset: 1,
-                    color: 'rgb(227, 145, 6, 0)'
+                    color: 'rgba(227, 145, 6, .5)'
                   }
                   }
                 ])
                 ])
               }
               }

+ 4 - 4
src/views/modules_guAn/visualization/modules/RealTimeCurve.vue

@@ -180,7 +180,7 @@ export default {
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                   {
                   {
                     offset: 0,
                     offset: 0,
-                    color: 'rgb(255, 0, 255, 0)'
+                    color: 'rgba(255, 0, 255, .5)'
                   },
                   },
                   {
                   {
                     offset: 0.5,
                     offset: 0.5,
@@ -188,7 +188,7 @@ export default {
                   },
                   },
                   {
                   {
                     offset: 1,
                     offset: 1,
-                    color: 'rgb(255, 0, 255, 0)'
+                    color: 'rgba(255, 0, 255, 0.5)'
                   }
                   }
                 ])
                 ])
               }
               }
@@ -206,7 +206,7 @@ export default {
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                   {
                   {
                     offset: 0,
                     offset: 0,
-                    color: 'rgb(255, 105, 0, 0)'
+                    color: 'rgba(255, 105, 0, 0.5)'
                   },
                   },
                   {
                   {
                     offset: 0.5,
                     offset: 0.5,
@@ -214,7 +214,7 @@ export default {
                   },
                   },
                   {
                   {
                     offset: 1,
                     offset: 1,
-                    color: 'rgb(255, 0, 0, 0)'
+                    color: 'rgba(255, 0, 0, 0.5)'
                   }
                   }
                 ])
                 ])
               }
               }

+ 4 - 4
src/views/modules_guAn/visualization/modules/YuzhiCurve.vue

@@ -242,7 +242,7 @@ export default {
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                   {
                   {
                     offset: 0,
                     offset: 0,
-                    color: 'rgba(207, 168, 9, .1)'
+                    color: 'rgba(207, 168, 9, .5)'
                   },
                   },
                   {
                   {
                     offset: 0.5,
                     offset: 0.5,
@@ -250,7 +250,7 @@ export default {
                   },
                   },
                   {
                   {
                     offset: 1,
                     offset: 1,
-                    color: 'rgba(207, 168, 9, .1)'
+                    color: 'rgba(207, 168, 9, .5)'
                   }
                   }
                 ])
                 ])
               }
               }
@@ -284,7 +284,7 @@ export default {
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                 color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ // 颜色渐变
                   {
                   {
                     offset: 0,
                     offset: 0,
-                    color: 'rgba(73, 228, 233, .1)'
+                    color: 'rgba(73, 228, 233, .5)'
                   },
                   },
                   {
                   {
                     offset: 0.5,
                     offset: 0.5,
@@ -292,7 +292,7 @@ export default {
                   },
                   },
                   {
                   {
                     offset: 1,
                     offset: 1,
-                    color: 'rgba(73, 228, 233, .1)'
+                    color: 'rgba(73, 228, 233, .5)'
                   }
                   }
                 ])
                 ])
               }
               }