Skip to content

Commit

Permalink
reenable tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Oct 2, 2023
1 parent 74d487b commit c3c84bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions report-viewer/src/components/ClusterGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down Expand Up @@ -123,7 +122,13 @@ const graphOptions = computed(() => {
color: graphColors.ticksAndFont.value
},
tooltip: {
enabled: false
enabled: true,
displayColors: false,
callbacks: {
title: () => {
return ''
}
}
}
}
}
Expand Down

0 comments on commit c3c84bd

Please sign in to comment.