From 81e6dff270e87060f5757e532807961842543412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B9=9B=E5=85=AE?= Date: Wed, 28 Oct 2026 22:33:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(growth):=20=E9=81=BF=E5=85=8D=E5=9B=BE?= =?UTF-8?q?=E4=BE=8B=E4=B8=8E=E6=97=A5=E6=9C=9F=E6=A0=87=E7=AD=BE=E9=87=8D?= =?UTF-8?q?=E5=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/digital/growth-charts.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/digital/growth-charts.vue b/src/views/digital/growth-charts.vue index 1b45193..10df3ed 100644 --- a/src/views/digital/growth-charts.vue +++ b/src/views/digital/growth-charts.vue @@ -159,7 +159,7 @@ function options(): EChartsCoreOption[] { }, { ...base, - legend: { textStyle: { color: "#8892a3" } }, + legend: { top: 0, textStyle: { color: "#8892a3" } }, xAxis: { ...base.xAxis, data: experiments.map(r => `v${r.revision} · ${r.variant}`) @@ -184,8 +184,11 @@ function options(): EChartsCoreOption[] { }, { ...base, - legend: { textStyle: { color: "#8892a3" } }, - xAxis: { ...base.xAxis, data: budget.map(r => String(r.period)) }, + legend: { top: 0, textStyle: { color: "#8892a3" } }, + xAxis: { + ...base.xAxis, + data: budget.map(r => String(r.period).slice(0, 10)) + }, series: [ ["已结算", "used"], ["预占", "reserved"]