From 36a9d5bf9ac0c80bf051e159635ee749b0f10d07 Mon Sep 17 00:00:00 2001
From: VVT789 <67089238+VVT789@users.noreply.github.com>
Date: 星期三, 26 三月 2025 11:24:44 +0800
Subject: [PATCH] Merge pull request #35 from Andy-Yin/develop1.0

---
 zhitan-vue/src/components/Echarts/LineChart.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/zhitan-vue/src/components/Echarts/LineChart.vue b/zhitan-vue/src/components/Echarts/LineChart.vue
index 8703363..ef9af8b 100644
--- a/zhitan-vue/src/components/Echarts/LineChart.vue
+++ b/zhitan-vue/src/components/Echarts/LineChart.vue
@@ -59,7 +59,7 @@
     name: item.name,
     type: props.chartType, // 鏍规嵁浼犲叆绫诲瀷娓叉煋
     data: item.data,
-    barWidth: "16",
+    barWidth: props.chartData.barWidth || "16",
     itemStyle: {
       borderRadius: [15, 15, 0, 0],
     },
@@ -74,7 +74,8 @@
         color: "#2979ff",
       },
     },
-    color: ["#2979ff", "#19be6b", "#ff9900", "#fa3534"],
+    color: ["#4dadf8", "#19be6b", "#ff9900", "#3d8a32", "#e8463a", "#ff4e3f"],
+    // color: ["#2979ff", "#19be6b", "#ff9900", "#fa3534"],
     tooltip: {
       trigger: "axis",
       axisPointer: {

--
Gitblit v1.9.3