diff --git a/components/statistics/balance-line-chart.tsx b/components/statistics/balance-line-chart.tsx index fdbefee..3e03609 100644 --- a/components/statistics/balance-line-chart.tsx +++ b/components/statistics/balance-line-chart.tsx @@ -103,11 +103,38 @@ export function BalanceLineChart({ tick={{ fill: "var(--muted-foreground)" }} /> formatCurrency(value)} - contentStyle={{ - backgroundColor: "var(--card)", - border: "1px solid var(--border)", - borderRadius: "8px", + content={({ active, payload }) => { + if (!active || !payload?.length) return null; + return ( +
+ {payload.map((entry, index) => ( +
+
+ + {entry.name}: + + + {formatCurrency(entry.value as number)} + +
+ ))} +
+ ); }} /> {mode === "aggregated" ? (