2022-06-01 10:15:55 +03:00

8 lines
271 B
PHP

<script type="text/javascript"><!--
var options = {!! json_encode($chart->getOptions()) !!};
var chart_{{ $chart->getId() }} = new ApexCharts(document.querySelector("#{!! $chart->getId() !!}"), options);
chart_{{ $chart->getId() }}.render();
//--></script>