From 20e6eab3129e0d40a2c66650deae79cbfdd46526 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期五, 28 三月 2025 17:07:13 +0800
Subject: [PATCH] fix:修改图表配置

---
 src/views/screen/temperature/statics/index.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/views/screen/temperature/statics/index.vue b/src/views/screen/temperature/statics/index.vue
index f9c8747..bbc1fc9 100644
--- a/src/views/screen/temperature/statics/index.vue
+++ b/src/views/screen/temperature/statics/index.vue
@@ -55,7 +55,7 @@
             },
             series: [
                 {
-                    data: [36, 44, 38, 24, 63],
+                    data: [36, 44, 38, 24, 36],
                     type: 'line',
                     areaStyle: {
                         color: {
@@ -64,11 +64,10 @@
                             y: 0,
                             x2: 0,
                             y2: 1,
-                            colorStops: [{
-                                offset: 0, color: '#00FFFF'  // 0% 处的颜色
-                            }, {
-                                offset: 1, color: 'rgba(0,255,255,0.2)' // 100% 处的颜色
-                            }],
+                            colorStops: [
+                                {offset: 0.2, color: 'rgba(0,255,255,0.5)' },
+                                {offset: 1, color: 'rgba(0,255,255,0.1)' },
+                            ],
                             global: false // 缺省为 false
                         }
                     }

--
Gitblit v1.9.3