This article explains how to create a pareto chart in Excel using XlsIO.
What is a pareto chart?
Pareto is a sorted histogram where the columns are sorted in descending order and a line represents the cumulative total percentage.
Pareto chart created using XlsIO
To create a pareto chart in Excel using XlsIO, you need to do the following steps.
Steps to create pareto chart
Create a chart object by calling the worksheet.Charts.Add method and specify the chart type to ExcelChartType.Pareto 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 pareto chart
Below is the list of other properties that is applicable for a pareto chart.
The following C#/ VB.NET complete code snippet shows the creation of pareto chart using XlsIO.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|