feat: enhance category breakdown and pie chart components with icon support and improved tooltip formatting

This commit is contained in:
Julien Froidefond
2025-11-28 13:56:58 +01:00
parent 0e0db122b9
commit fc483d0573
5 changed files with 92 additions and 83 deletions

View File

@@ -41,8 +41,8 @@ export function MonthlyChart({ data, formatCurrency }: MonthlyChartProps) {
<Tooltip
formatter={(value: number) => formatCurrency(value)}
contentStyle={{
backgroundColor: "hsl(var(--card))",
border: "1px solid hsl(var(--border))",
backgroundColor: "var(--card)",
border: "1px solid var(--border)",
borderRadius: "8px",
}}
/>