| Server IP : 92.204.40.98 / Your IP : 216.73.216.201 Web Server : LiteSpeed System : Linux amster.dnsfors.com 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : tmksyste ( 2190) PHP Version : 8.3.31 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/tmksyste/domains/tmksystems.in/private_html/crmapp/assets/js/pages/ |
Upload File : |
function getChartColorsArray(e){var t=document.getElementById(e);if(t){t=t.dataset.colors;if(t)return JSON.parse(t).map(e=>{var t=e.replace(/\s/g,"");return t.includes(",")?2===(e=e.split(",")).length?`rgba(${getComputedStyle(document.documentElement).getPropertyValue(e[0])}, ${e[1]})`:t:getComputedStyle(document.documentElement).getPropertyValue(t)||t});console.warn("data-colors attribute not found on: "+e)}}var funnelChart="",pyramidChart="";function loadCharts(){var e,t;(t=getChartColorsArray("funnel_chart"))&&(e={series:[{name:"Funnel Series",data:[1380,1100,990,880,740,548,330,200]}],chart:{type:"bar",height:350},colors:t,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}},""!=funnelChart&&funnelChart.destroy(),(funnelChart=new ApexCharts(document.querySelector("#funnel_chart"),e)).render());(t=getChartColorsArray("pyramidChart"))&&(e={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:t,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}},""!=pyramidChart&&pyramidChart.destroy(),(pyramidChart=new ApexCharts(document.querySelector("#pyramidChart"),e)).render())}window.addEventListener("resize",function(){setTimeout(()=>{loadCharts()},250)}),loadCharts();