From 76afc4e40dec6ec4ebecb513ebddef545d53c942 Mon Sep 17 00:00:00 2001 From: MilosPaunovic Date: Fri, 29 Nov 2024 08:30:40 +0100 Subject: [PATCH] chore(ui): amend tooltip label for pie/doughnut charts --- .../components/dashboard/components/charts/custom/Pie.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ui/src/components/dashboard/components/charts/custom/Pie.vue b/ui/src/components/dashboard/components/charts/custom/Pie.vue index f9a95d0626b..dccb2f8b97a 100644 --- a/ui/src/components/dashboard/components/charts/custom/Pie.vue +++ b/ui/src/components/dashboard/components/charts/custom/Pie.vue @@ -67,12 +67,6 @@ enabled: true, intersect: true, filter: (value) => value.raw, - callbacks: { - title: () => "", - label: (value) => { - return `${value.dataset.tooltip} : ${value.raw}`; - }, - }, }, }, }), @@ -162,7 +156,6 @@ datasets: [ { data: dataElements, - tooltip: aggregator.value.label, backgroundColor, thicknessScale, borderWidth: 0,