This commit is contained in:
2026-04-05 16:19:11 +03:00
parent c346c604fe
commit 53ba44e2f9
16 changed files with 1970 additions and 8 deletions

View File

@@ -301,6 +301,22 @@ watch(
:style="{ ...elStyle(el), ...shapeStyle(el) }"
/>
<!-- Chart -->
<div
v-else-if="el.element_type === 'chart'"
class="layout-el layout-el--chart"
:style="elStyle(el)"
>
<div
v-if="el.content?.type === 'chart' && el.content.svg"
v-html="el.content.svg"
style="width: 100%; height: 100%;"
/>
<div v-else class="layout-el__placeholder" :style="{ display: 'flex', alignItems: 'center', justifyContent: 'center', width: '100%', height: '100%', color: '#94a3b8', fontSize: '12px' }">
Grafik
</div>
</div>
</template>
</div>
</div>