var data = {
type: 'funnel',
data: {
labels: ["Red", "Green", "Yellow"],
datasets: [{
data: [25, 200, 600],
shrinkAnchor: 'middle',
backgroundColor: ["#F7464A", "#46BFBD", "#FDB45C"],
hoverBackgroundColor: ["#FF5A5E", "#5AD3D1", "#FFC870"],
borderColor: 'transparent'
}]
}
}
var options = {
indexAxis: 'y'
}
//Initialize the chart by using setData
elements.chart.setData(data);
elements.chart.setOptions(options);
For additional options and documentation please refer to the official Funnel Chart docs.