isIntermediateSum: Boolean

Setting isIntermediateSum to true automatically calculates the sum since the last intermediate sum, or since the start of the series if no previous intermediate sum is present, in Waterfall Chart.


Default: false
Example: true, false

Notes
  • Works only in Waterfall Chart.


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
   type : "waterfall",
   dataPoints: [
     .
     .
     {  isIntermediateSum  : true },
     .
     .
  ]

  }],
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



If you have any questions, please feel free to ask in our forums.Ask Question