baseddata.io/layouts/partials/chart.html

9 lines
280 B
HTML

<script src="https://cdn.jsdelivr.net/npm/echarts@5.5.1/dist/echarts.min.js"></script>
<section class="chart-container">
<div id="chart">
<canvas id="{{ .id }}"></canvas>
<script src="{{ .src }}"></script>
</div>
</section>
<script src="/js/chart-params.js"></script>