harts library not loaded");
                        $("#{{ data.chart_div_id }}").html('<br>ApexCharts library not loaded, please add this attribute in your listing clss : <br><br><pre>request_media_for = "apexcharts"</pre>');
                        return;
                    }
                    (() => {
                        const data = JSON.parse(document.getElementById("{{ data.json_id }}").textContent);
                        let apex_options = data.apexcharts_options;
                        {%