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(() => {