"use strict";var options={series:[{name:"Funnel Series",data:[1380,1100,990,880,740,548,330,200]}],chart:{type:"bar",height:350,parentHeightOffset:0},colors:["#5dd89e"],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,parentHeightOffset:0},plotOptions:{bar:{borderRadius:0,horizontal:!0,distributed:!0,barHeight:"80%",isFunnel:!0}},colors:["#00c951","#615fff","#ad46ff","#f6339a","#fb2c36","#ff6900","#efb100","#5dd89e"],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();