Skip to content
44 changes: 44 additions & 0 deletions app/components/Compare/FacetQuadrantChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,50 @@ const config = computed<VueUiQuadrantConfig>(() => {
})
"
/>

<foreignObject :x="0" :y="30" style="overflow: visible" :width="svg.width" :height="12">
<div class="flex items-center justify-center gap-2">
<TooltipApp>
<button
data-dom-to-png-ignore
class="i-lucide:info w-3.5 h-3.5 text-fg-muted cursor-help"
type="button"
/>
<template #content>
<div class="flex flex-col gap-3">
<p class="text-xs text-fg-muted">
{{ $t('compare.quadrant_chart.explanation.efficiency') }}
</p>
</div>
</template>
</TooltipApp>
</div>
</foreignObject>

<foreignObject
:x="svg.width - 40"
:y="svg.height / 2 - 8"
style="overflow: visible"
:width="20"
:height="12"
>
<div class="flex items-center justify-center gap-2">
<TooltipApp>
<button
data-dom-to-png-ignore
class="i-lucide:info w-3.5 h-3.5 text-fg-muted cursor-help"
type="button"
/>
<template #content>
<div class="flex flex-col gap-3">
<p class="text-xs text-fg-muted">
{{ $t('compare.quadrant_chart.explanation.adoption') }}
</p>
</div>
</template>
</TooltipApp>
</div>
</foreignObject>
Comment thread
graphieros marked this conversation as resolved.
</template>

<template #menuIcon="{ isOpen }">
Expand Down
Loading