Pareto Control


Exclude a Group from Calculations

A group can be excluded from the series calculations. The pareto control of the .Net Analytics package is of the following type:

The series class of the pareto chart is:

The group class of a pareto series is:

and the following property is used for excluding a group:

The first step is to include the necessary namespaces for the controls, add a new series, and add new groups.

Exclude a Group

Below, we will exclude a Pareto group (named pgGroup in the examples below) of a Pareto series (named psSeries in the examples below). The process is similar for the other charts listed above:

[Visual Basic]
' Exclude the group
pgGroup.ExcludeFromCalculation = True

' Another alternative is to exclude the ith (2 below) group directly from the series
pgGroup(2).ExcludeFromCalculation = True

[Visual C#]
// Exclude the group
pgGroup.ExcludeFromCalculation = true;

// Another alternative is to exclude the ith (2 below) group directly from the series
pgGroup[2].ExcludeFromCalculation = true;

Charts showing before and after the group has been excluded:

Pareto chart with group not excluded Pareto chart with group excluded