"use strict";var options={series:[{name:"Funnel Series",data:[1380,1100,990,880,740,548,330,200]}],chart:{type:"bar",height:350},colors:["#4a98f5"],plotOptions:{bar:{borderRadius:0,horizontal:!0,barHeight:"80%",isFunnel:!0}},dataLabels:{enabled:!0,formatter:function(e,t){return t.w.globals.labels[t.dataPointIndex]+":  "+e},dropShadow:{enabled:!0}},title:{text:"Recruitment Funnel",align:"middle"},xaxis:{categories:["Sourced","Screened","Assessed","HR Interview","Technical","Verify","Offered","Hired"]},legend:{show:!1}},chart=new ApexCharts(document.querySelector("#funnel_chart"),options);chart.render();options={series:[{name:"",data:[200,330,548,740,880,990,1100,1380]}],chart:{type:"bar",height:350},plotOptions:{bar:{borderRadius:0,horizontal:!0,distributed:!0,barHeight:"80%",isFunnel:!0}},colors:["#41c7f1","#343a40","#23c093","#fd7e14","#d63384","#836ccb","#6610f2","#4a98f5"],dataLabels:{enabled:!0,formatter:function(e,t){return t.w.globals.labels[t.dataPointIndex]},dropShadow:{enabled:!0}},title:{text:"Pyramid Chart",align:"middle"},xaxis:{categories:["Sweets","Processed Foods","Healthy Fats","Meat","Beans & Legumes","Dairy","Fruits & Vegetables","Grains"]},legend:{show:!1}};(chart=new ApexCharts(document.querySelector("#pyramid_funnel_chart"),options)).render();