Time Series Controls
Exclude a Sample from Subgroup Calculations
A sample can be excluded from subgroup calculations (average, range, std. dev.). The time series controls of the Silverlight Analytics package that are based on subgroups include the following:
The series classes of these respective charts are:
The subgroup classes are:
and the sample classes are:
The following property is used for excluding a sample:
The first step is to include the necessary namespace
for the controls, add a new series, add new subgroups, and add new samples to the subgroups.
Exclude a Sample from a Subgroup
Below, we will exclude a Xbar sample (named xsSample in the examples below), from 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 sample
xsSample.Exclude = True
' Another alternative is to
exclude the ith (2 below) sample directly from the subgroup
xsSubgroup(2).Exclude = True
' A third alternative is to exclude the ith (2 below) sample from the jth (1
below) subgroup of the series
xsSeries(1)(2).Exclude = True
[Visual C#]
// Exclude the sample
xsSample.Exclude = true;
// Another alternative is to
exclude the ith (2 below) sample directly from the subgroup
xsSubgroup[2].Exclude = true;
// A third alternative is to exclude the ith (2 below) sample from the jth (1
below) subgroup of the series
xsSeries[1][2].Exclude = true;