☰
Why Choose ApexCharts
- 20 chart types
- MIT License
- 1 million weekly downloads
- No registration needed
- 100+ samples includes
- FREE DOWNLOAD
var options = {
series: [
{
name: "Funnel Series",
data: [1380, 1100, 990, 880, 740, 548, 330, 200],
},
],
chart: {
type: 'bar',
height: 350,
dropShadow: {
enabled: true,
},
},
plotOptions: {
bar: {
borderRadius: 0,
horizontal: true,
barHeight: '80%',
isFunnel: true,
},
},
dataLabels: {
enabled: true,
formatter: function (val, opt) {
return opt.w.globals.labels[opt.dataPointIndex] + ': ' + val
},
dropShadow: {
enabled: true,
},
},
title: {
text: 'Recruitment Funnel',
align: 'middle',
},
xaxis: {
categories: [
'Sourced',
'Screened',
'Assessed',
'HR Interview',
'Technical',
'Verify',
'Offered',
'Hired',
],
},
legend: {
show: false,
},
};
var chart = new ApexCharts(document.querySelector("#chart"), options);
chart.render();