From 27c7661cae945f65f8d2752cae41801e3c2b1485 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 25 三月 2026 14:21:37 +0800
Subject: [PATCH] 修改折线图

---
 src/views/dataAnalysis/components/DataReLineChart.vue |   46 ++++++++++++++++++----------------------------
 1 files changed, 18 insertions(+), 28 deletions(-)

diff --git a/src/views/dataAnalysis/components/DataReLineChart.vue b/src/views/dataAnalysis/components/DataReLineChart.vue
index de65a92..228831b 100644
--- a/src/views/dataAnalysis/components/DataReLineChart.vue
+++ b/src/views/dataAnalysis/components/DataReLineChart.vue
@@ -357,21 +357,16 @@
       if (this.chartData.lineData) {
         option.series.push({
           name: this.chartData.lineName,
-          type: 'bar',
-          barWidth: '12px',
+          type: 'line',
+          smooth: true,
+          symbol: 'circle',
+          symbolSize: 6,
+          lineStyle: {
+            width: 2,
+            color: '#16B777',
+          },
           itemStyle: {
-            normal: {
-              color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
-                {
-                  offset: 0,
-                  color: '#16B777',
-                },
-                {
-                  offset: 1,
-                  color: '#0D6E4A',
-                },
-              ]),
-            },
+            color: '#16B777',
           },
           data: this.chartData.lineData,
         })
@@ -403,21 +398,16 @@
       if (this.chartData.lineData2) {
         option.series.push({
           name: this.chartData.lineName2,
-          type: 'bar',
-          barWidth: '12px',
+          type: 'line',
+          smooth: true,
+          symbol: 'circle',
+          symbolSize: 6,
+          lineStyle: {
+            width: 2,
+            color: '#FFD93D',
+          },
           itemStyle: {
-            normal: {
-              color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
-                {
-                  offset: 0,
-                  color: '#FFD93D',
-                },
-                {
-                  offset: 1,
-                  color: '#B8860B',
-                },
-              ]),
-            },
+            color: '#FFD93D',
           },
           data: this.chartData.lineData2,
         })

--
Gitblit v1.8.0