Pareto Control
Exclude a Sample from Group Calculations
A sample can be excluded from group calculations (average, range, std. dev., rms. dev.).
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 sample class is:
The following property is used for excluding a sample:
The first step is to include the necessary namespaces
for the controls and add a new series.
Exclude a Sample from a Group
Below, we will exclude a Pareto sample (named psSample in the examples below), from 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 sample
psSample.ExcludeFromCalculation = True
' Another alternative is to
exclude the ith (2 below) sample directly from the group
pgGroup(2).ExcludeFromCalculation = True
' A third alternative is to exclude the ith (2 below) sample from the jth (1
below) group of the series
psSeries(1)(2).ExcludeFromCalculation = True
[Visual C#]
// Exclude the sample
psSample.ExcludeFromCalculation = true;
// Another alternative is to
exclude the ith (2 below) sample directly from the group
pgGroup[2].ExcludeFromCalculation = true;
// A third alternative is to exclude the ith (2 below) sample from the jth (1
below) group of the series
psSeries[1][2].ExcludeFromCalculation = true;