baseddata.io/layouts/shortcodes/chart.html

8 lines
263 B
HTML
Raw Normal View History

<script src="https://cdn.jsdelivr.net/npm/echarts@5.5.1/dist/echarts.js"></script>
2024-09-23 17:46:59 +01:00
<section class = 'chart-container'>
<script>let id = '{{ .Get "id" }}'</script>
2024-09-23 20:11:25 +01:00
<div class = "chart" id='{{ .Get "id" }}'>
<script src={{ .Get "src" }}></script>
</div>
2024-09-23 17:46:59 +01:00
</section>