fix(growth): 修复图表图例与日期标签布局 #31

Merged
zhanxi merged 1 commits from feature/env-pipeline-split into develop 2026-10-28 14:34:19 +00:00
Showing only changes of commit 81e6dff270 - Show all commits
+6 -3
View File
@@ -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"]