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