From b1a698edad90cbc717d2f704ed1d8b105aa64677 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Mon, 25 Dec 2023 21:07:44 +0100 Subject: [PATCH] fix: fix tooltip of tempchart the tooltip will not go away after 1 second. the chart also will be "stopped" as long as your mouse is hoverd Signed-off-by: Stefan Dej --- src/components/charts/TempChart.vue | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/components/charts/TempChart.vue b/src/components/charts/TempChart.vue index 530fe1835..a748af5e2 100644 --- a/src/components/charts/TempChart.vue +++ b/src/components/charts/TempChart.vue @@ -6,7 +6,9 @@ :init-options="{ renderer: 'svg' }" :autoresize="true" :style="tempchartStyle" - class="tempchart" /> + class="tempchart" + @mouseenter.native="hoverChart = true" + @mouseleave.native="hoverChart = false" />