add tooltips to weekly overview on dashboard

This commit is contained in:
Gregor Vostrak
2024-05-02 15:13:43 +02:00
parent f989a06dc8
commit 3b5e09267f

View File

@@ -107,6 +107,9 @@ const weekdays = computed(() => {
});
const option = ref({
tooltip: {
trigger: 'item',
},
grid: {
top: 0,
right: 0,
@@ -152,6 +155,11 @@ const option = ref({
{
data: seriesData,
type: 'bar',
tooltip: {
valueFormatter: (value: number) => {
return formatHumanReadableDuration(value);
},
},
},
],
});