fix(style): bar chart legend gap

This commit is contained in:
jialin
2026-06-08 11:42:20 +08:00
committed by jialin
parent 993f6edcc4
commit e420c22a45
3 changed files with 17 additions and 2 deletions
@@ -314,6 +314,9 @@ const DailyUsage: React.FC<DailyUsageProps> = (props) => {
seriesData={seriesData}
xAxisData={xAxisData}
height={280}
grid={{
bottom: 28
}}
legendData={legendData}
labelFormatter={labelFormatter}
legendIsolate={metric === CACHED_METRIC}
@@ -187,6 +187,9 @@ const DomainSection: React.FC<{
]}
xAxisData={trendXAxis}
height={180}
grid={{
bottom: 0
}}
title={trendTitle}
labelFormatter={trendLabel(trendGran)}
tooltipValueFormatter={(v) =>