xref: /webtrees/resources/views/modules/charts/chart.phtml (revision 0d047a8c74753c7558a60f4789c838996d6fae8b)
1<?php
2
3/**
4 * @var int $block_id
5 * @var string $chart_url
6 */
7
8?>
9<div id="chart-block-<?= e($block_id) ?>"></div>
10
11<script>
12	$(<?= json_encode('#chart-block-' . $block_id) ?>).load(<?= json_encode($chart_url) ?>);
13</script>
14