diff --git a/src/components/HistoryChart.tsx b/src/components/HistoryChart.tsx
index 99553bb..f61b102 100644
--- a/src/components/HistoryChart.tsx
+++ b/src/components/HistoryChart.tsx
@@ -5,6 +5,7 @@ export interface ChartDataPoint {
id: string;
amount: number;
compareAmount?: number;
+ compareLabel?: compareLabel;
highlighted?: boolean;
}
@@ -232,18 +233,40 @@ export default function HistoryChart({
-
- {formatLabel(point.id, activeDataKey)}
-
+
+ {formatLabel(point.id, activeDataKey)}
+
+
+ {comparison && point.compareLabel && activeDataKey !== "daily" && (
+
+ {formatLabel(point.compareLabel, activeDataKey)}
+
+ )}
+
);
})}