Skip to content

Commit

Permalink
adds risk-history legend
Browse files Browse the repository at this point in the history
  • Loading branch information
timbastin committed Oct 29, 2024
1 parent ae20e70 commit 0543042
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/overview/RiskHistoryDiagram.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import {
} from "@/components/ui/card";
import {
ChartContainer,
ChartLegend,
ChartLegendContent,
ChartTooltip,
ChartTooltipContent,
} from "@/components/ui/chart";
Expand Down Expand Up @@ -77,6 +79,7 @@ export function RiskHistoryChart({
)}
>
<AreaChart accessibilityLayer data={reduced}>
<ChartLegend content={<ChartLegendContent />} />
<CartesianGrid vertical={false} />
<XAxis
dataKey="day"
Expand Down

0 comments on commit 0543042

Please sign in to comment.