anychart.onDocumentReady(function () {
var chart = anychart.funnel([
{x: "Qualified", value: 45},
{x: "Proposal", value: 32},
{x: "Negotiation", value: 11},
{x: "Review", value: 15},
{x: "Signed", value: 20},
for (var i = chart.getStat("count") - 1;i > 0; i--){
currentPoint = chart.getPoint(i);
previousPoint = chart.getPoint(i - 1);
diff = currentPoint.get("value") - previousPoint.get("value");
currentPoint.set("diff", diff);
currentPoint.set("fill", "#31C45D");
currentPoint.set("stroke", {color: anychart.color.darken("#31C45D", 0.05)});
currentPoint.set("fill", "#F39232");
currentPoint.set("stroke", {color: anychart.color.darken("#F39232", 0.05)});
var tooltip = chart.tooltip();
tooltip.format("Change: {%diff}");
chart.title("Points Customization");
chart.container("container");