From 832ee88e4adf86a4fc2864bbf6ee57dc78c982b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Wed, 15 Oct 2025 09:17:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E4=B8=9A=E4=B8=80=E5=BC=A0=E5=9B=BE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/charts/lines/index.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/charts/lines/index.js b/src/components/charts/lines/index.js index 70ed686..1192196 100644 --- a/src/components/charts/lines/index.js +++ b/src/components/charts/lines/index.js @@ -113,7 +113,11 @@ export default { trigger: "item", }, legend: { - show: false + textStyle: { + color: 'rgb(185,211,235)' // 将图例文字颜色设置为红色 + }, + right: '5%' + // show: false }, color: { color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [ @@ -132,7 +136,7 @@ export default { type: "category", boundaryGap: false, axisLabel: { - color: 'rgba(185, 211, 235, 1)', + color: 'rgb(185,211,235)', }, axisLine: { show: false @@ -151,7 +155,7 @@ export default { type: "value", name: "单位:万元", nameTextStyle: { - color: 'rgba(185, 211, 235, 1)' + color: 'rgb(185,211,235)' }, axisLabel: { formatter: "{value}",