1
0
forked from EHV/sejeteralo

modif position legende

This commit is contained in:
nicoboy
2026-05-01 20:37:23 +02:00
parent 129c9cfc7b
commit daad6bb1d5
+1 -1
View File
@@ -231,7 +231,7 @@
</text> </text>
<!-- Legend box (top-right) --> <!-- Legend box (top-right) -->
<g :transform="`translate(${margin.left + plotW - 232}, ${margin.top + 8})`"> <g :transform="`translate(${margin.left + 8}, ${margin.top + plotH - 90})`">
<rect x="0" y="0" width="220" :height="citizenAbo > 0 ? 80 : 62" rx="6" :fill="t.legendBg" fill-opacity="0.92" :stroke="t.legendBorder" /> <rect x="0" y="0" width="220" :height="citizenAbo > 0 ? 80 : 62" rx="6" :fill="t.legendBg" fill-opacity="0.92" :stroke="t.legendBorder" />
<line x1="10" y1="14" x2="28" y2="14" stroke="#2563eb" stroke-width="3" stroke-linecap="round" /> <line x1="10" y1="14" x2="28" y2="14" stroke="#2563eb" stroke-width="3" stroke-linecap="round" />
<text x="34" y="18" font-size="11" :fill="t.text">Consommations foyers</text> <text x="34" y="18" font-size="11" :fill="t.text">Consommations foyers</text>