From 6f604e6e228dc33ff88b55190c0e3793177d21ce Mon Sep 17 00:00:00 2001 From: ali <ali9696@163.com> Date: 星期五, 28 二月 2025 11:41:14 +0800 Subject: [PATCH] basecard&linechart --- 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