From c3c84bd9ea1995039001165e4d36aa5eab08447c Mon Sep 17 00:00:00 2001 From: Alex | Kronox Date: Mon, 2 Oct 2023 12:51:07 +0200 Subject: [PATCH] reenable tooltips --- report-viewer/src/components/ClusterGraph.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/report-viewer/src/components/ClusterGraph.vue b/report-viewer/src/components/ClusterGraph.vue index ff5348d6b..1ff485b32 100644 --- a/report-viewer/src/components/ClusterGraph.vue +++ b/report-viewer/src/components/ClusterGraph.vue @@ -92,7 +92,6 @@ const xPadding = computed(() => { const widths = labels.value.map((label) => label.length * avgCharacterLength) const maxWidth = Math.max(...widths) // Space needed for the longest name, but at most 200 - console.log(maxWidth) return Math.min(200, maxWidth) }) @@ -123,7 +122,13 @@ const graphOptions = computed(() => { color: graphColors.ticksAndFont.value }, tooltip: { - enabled: false + enabled: true, + displayColors: false, + callbacks: { + title: () => { + return '' + } + } } } }