From f12f664ce58ed5f18991ececfec547b55b64249e Mon Sep 17 00:00:00 2001 From: CCS Admin Date: Tue, 24 Feb 2026 09:13:00 +0000 Subject: [PATCH] fix: prevent pie chart labels from being clipped Move Fallgruppen names into a Legend below the chart instead of inline labels that overflow the container. Reduce pie radius to leave breathing room. Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/DashboardPage.tsx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/DashboardPage.tsx b/frontend/src/pages/DashboardPage.tsx index 458a153..ce4644b 100644 --- a/frontend/src/pages/DashboardPage.tsx +++ b/frontend/src/pages/DashboardPage.tsx @@ -173,12 +173,12 @@ export function DashboardPage() { `${name}: ${value}`} + label={({ value }) => value} > {fallgruppenData.map((_, idx) => ( + ( + {value} + )} + />