Time Series Controls
Exclude a Sample From Calculations
A sample 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 samples include the following:
The series classes of the respective controls are:
and the sample classes are:
The following property is used for excluding a sample:
The first step is to include the necessary namespace,
add a new series, and add new samples.
Exclude a Sample
Below, we will exclude an Individuals sample (named isSample in the examples below) of an Individuals series (named isSeries in the
examples below). The process is similar for the other chart listed above:
[Visual Basic]
' Exclude the sample
isSample.Exclude = True
' Another alternative is to exclude the ith
(2 below) sample directly from the series
isSeries(2).Exclude = True
[Visual C#]
// Exclude the sample
isSample.Exclude = true;
// Another alternative is to
exclude the ith (2 below) sample directly from the series
isSeries[2].Exclude = true;
In the chart below, you can test the code to see what the result will look like: