new CustomApexChart({selector:"#basic-funnel",options:()=>({series:[{name:"E-commerce Sales",data:[2e3,1700,1250,980,750,500,300,120]}],chart:{type:"bar",height:350,dropShadow:{enabled:!0},toolbar:{show:!1}},colors:[ins("primary")],plotOptions:{bar:{borderRadius:0,horizontal:!0,barHeight:"80%",isFunnel:!0}},dataLabels:{enabled:!0,formatter:function(e,a){return a.w.globals.labels[a.dataPointIndex]+": "+e},dropShadow:{enabled:!0}},xaxis:{categories:["Visited Website","Viewed Product","Added to Cart","Initiated Checkout","Entered Info","Payment Started","Payment Completed","Order Delivered"]},legend:{show:!1},grid:{padding:{top:-20,bottom:0}}})}),new CustomApexChart({selector:"#pyramid-funnel",options:()=>({series:[{name:"",data:[100,300,500,720,850,970,1150,1500]}],chart:{type:"bar",height:350,dropShadow:{enabled:!0},toolbar:{show:!1}},plotOptions:{bar:{borderRadius:0,horizontal:!0,distributed:!0,barHeight:"80%",isFunnel:!0}},colors:[ins("light"),ins("gray"),ins("danger"),ins("warning"),ins("success"),ins("info"),ins("purple"),ins("secondary")],dataLabels:{enabled:!0,formatter:function(e,a){return a.w.globals.labels[a.dataPointIndex]},dropShadow:{enabled:!0}},xaxis:{categories:["Converted Customers","Qualified Leads","Demo Booked","Webinar Attended","Email Clicked","Email Opened","Ad Clicked","Impressions"]},legend:{show:!1},grid:{padding:{top:-20,bottom:0}}})});