Time Series Controls
Exclude a Subgroup from Calculations
A subgroup can be excluded from the series and limit range calculations of the
control charts (limits, rules, statistics).
The time series controls of the Silverlight Analytics package that are based on subgroups include the following:
The series classes of the respective controls are:
and the subgroup classes are:
The following property is used for excluding a subgroup:
The first step is to include the necessary namespace, add a new chart/control, add a new series and add new subgroups.
Exclude a Subgroup
Below, we will exclude a Xbar subgroup (named xsSubgroup in the examples below) of a Xbar series (named xsSeries in the
examples below). The process is similar for the other charts listed above:
[Visual Basic]
' Exclude the subgroup
xsSubgroup.Exclude = True
' Another alternative is to exclude the ith
(2 below) subgroup directly from the series
xsSeries(2).Exclude = True
[Visual C#]
// Exclude the subgroup
xsSubgroup.Exclude = true;
// Another alternative is to
exclude the ith (2 below) subgroup directly from the series
xsSeries[2].Exclude = true;
In the chart below, you can test the code to see what the result will look like: