From 72497dc46ce74d0768c5fcb8b1dca8d2f675d6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20St=C3=B6ckel?= Date: Sat, 17 Oct 2026 18:50:06 +0200 Subject: [PATCH] :bug: disable segment toggling and unify chart type in statistics fixes #5108 --- resources/tailwind-app/components/Stats/ChartDoughnut.vue | 2 +- resources/tailwind-app/pages/Statistics/Statistics.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/tailwind-app/components/Stats/ChartDoughnut.vue b/resources/tailwind-app/components/Stats/ChartDoughnut.vue index 1eb74235c..af8866d8b 100644 --- a/resources/tailwind-app/components/Stats/ChartDoughnut.vue +++ b/resources/tailwind-app/components/Stats/ChartDoughnut.vue @@ -23,7 +23,7 @@ const options = computed((): ApexCharts.ApexOptions => ({ colors: chartColors(), labels: props.labels, theme: { mode: isDark() ? 'dark' : 'light' }, - legend: { position: 'bottom' }, + legend: { position: 'bottom', onItemClick: { toggleDataSeries: false } }, dataLabels: { enabled: false }, tooltip: { y: { formatter: (val: number) => `${val} min` } }, })); diff --git a/resources/tailwind-app/pages/Statistics/Statistics.vue b/resources/tailwind-app/pages/Statistics/Statistics.vue index 60fff5626..2176a0dda 100644 --- a/resources/tailwind-app/pages/Statistics/Statistics.vue +++ b/resources/tailwind-app/pages/Statistics/Statistics.vue @@ -346,7 +346,6 @@ onMounted(() => {