"use strict";var options={series:[44,55,13,43,22],chart:{height:300,type:"pie"},labels:["Team A","Team B","Team C","Team D","Team E"],legend:{position:"bottom"},colors:["var(--bs-primary)","var(--bs-secondary)","var(--bs-success)","var(--bs-info)","var(--bs-dark)"],responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]},chart=new ApexCharts(document.querySelector("#simple_pie_chart"),options);chart.render();options={series:[44,55,41,17,15],chart:{height:300,type:"donut"},legend:{position:"bottom"},colors:["#4a98f5","#495057","#20c997","#fa7d7b","#836ccb"],responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]};(chart=new ApexCharts(document.querySelector("#simple_donut_chart"),options)).render();options={series:[25,15,44,55,41,17],chart:{height:300,type:"pie"},labels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],colors:["#4a98f5","#495057"],theme:{monochrome:{enabled:!0}},plotOptions:{pie:{dataLabels:{offset:-5}}},title:{text:"Monochrome Pie"},dataLabels:{formatter:function(e,t){return[t.w.globals.labels[t.seriesIndex],e.toFixed(1)+"%"]}},legend:{show:!1}};(chart=new ApexCharts(document.querySelector("#monochrome_pie_chart"),options)).render();options={series:[44,55,41,17,15],chart:{height:330,type:"donut"},plotOptions:{pie:{startAngle:-90,endAngle:270}},dataLabels:{enabled:!1},fill:{type:"gradient"},colors:["#4a98f5","#495057","#23c093","#fa7d7b","#facc15"],legend:{formatter:function(e,t){return e+" - "+t.w.globals.series[t.seriesIndex]},position:"bottom"},title:{text:"Gradient Donut With Custom Start-angle"},responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]};(chart=new ApexCharts(document.querySelector("#gradient_donut_pie_chart"),options)).render();options={series:[44,55,41,17,15],chart:{height:300,type:"donut"},plotOptions:{pie:{startAngle:-90,endAngle:90,offsetY:10}},grid:{padding:{bottom:-80}},colors:["var(--bs-primary)","var(--bs-secondary)","var(--bs-success)","var(--bs-info)","var(--bs-dark)"],responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]};(chart=new ApexCharts(document.querySelector("#semi_donut_pie_chart"),options)).render();options={series:[44,55,41,17,15],chart:{height:300,type:"donut",dropShadow:{enabled:!0,color:"#111",top:-1,left:3,blur:3,opacity:.2}},stroke:{width:0},plotOptions:{pie:{donut:{labels:{show:!0,total:{showAlways:!0,show:!0}}}}},labels:["Comedy","Action","SciFi","Drama","Horror"],dataLabels:{dropShadow:{blur:3,opacity:.8}},fill:{type:"pattern",opacity:1,pattern:{enabled:!0,style:["verticalLines","squares","horizontalLines","circles","slantedLines"]}},states:{hover:{filter:"none"}},theme:{palette:"palette2"},title:{text:"Favourite Movie Type"},colors:["var(--bs-light)","var(--bs-warning)","var(--bs-danger)","var(--bs-dark)","var(--bs-primary)"],responsive:[{breakpoint:480,options:{chart:{width:200},legend:{position:"bottom"}}}]};(chart=new ApexCharts(document.querySelector("#pattern_donut_pie_chart"),options)).render();