Setting isCumulativeSum to true automatically calculates the sum of the dataPoints since the start of the dataSeries, in Waterfall Chart.
Default: falsevar chart = new CanvasJS.Chart("container", { . . data: [{ type : "waterfall", dataPoints: [ . . { isCumulativeSum : true }, . . ] }], . . }); chart.render();
Also See: