This article explains how to create a waterfall chart in Excel using XlsIO.
What is a waterfall chart?
Waterfall chart helps to quickly understand the finances of business owners by viewing profit and loss statements. With a Waterfall chart, you can quickly illustrate the line items in your financial data and get a clear picture of how each item is impacting your bottom line.
Waterfall chart created using XlsIO
To create a waterfall chart in Excel using XlsIO, you need to do the following steps.
Steps to create waterfall chart
Create a chart object by calling the worksheet.Charts.Add method and specify the chart type to ExcelChartType.WaterFall enum value.
Set a range of data from the worksheet to chart’s DataRange property. To plot the series values in column and categories in row, set chart’s IsSeriesInRows property to false.
Add the basic elements like chart title, data labels and legend with the below list of properties.
Applicable properties of waterfall chart
Below is the list of other properties that is applicable for a waterfall chart.
The following C#/ VB.NET complete code snippet shows the creation of waterfall chart using XlsIO.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|