From efd0dc12440516a8764803d52fe10a08c85d9dd6 Mon Sep 17 00:00:00 2001
From: ustcyc <yincun@163.com>
Date: 星期四, 20 三月 2025 09:24:40 +0800
Subject: [PATCH] update

---
 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