{% extends "./listing.html" %}
{% block listing %}
    <div{{ listing.attrs }}>
        {% with listing.chart_data as data %}
        {% if data.apexcharts_options %}
            {{ data|json_script:data.json_id }}
            <div id="{{ data.chart_div_id }}"></div>
            <script>
                $(document).ready(function () {
                    // Check if ApexCharts is loaded
                    if (typeof ApexCharts === 'undefined') {
                        console.error("django-listing : ApexC