Time Series Controls


Multiple/Split Limits

This page describes how to add multiple/split limits to the time series controls. Each set of limits contains its own statistics, run rules, control limits, and specification limits. The time series controls of the .Net Analytics package include the following:

The series classes of the respective charts are:

Multiple/split limits are implemented in the charts using the following type:

The limits are defined by where they start and stop. This is dependent upon the type of x-axis. So for an axis sorted by index, you would specify the StartIndex and EndIndex. For an axis sorted by date, date/time, or time, you would specify the StartDate and EndDate.

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

Add a New LimitRange

Below, we will add an new LimitRange object to an Individual series (named isSeries in the examples below). The process is similar for the other charts:

[Visual Basic]
' Each series has one limit range by default. Set the end index for where the first limit range ends
isSeries.LimitRanges(0).EndIndex = 9

' Create the next limit range
Dim lrLimit As New LimitRange()
' Specify where the limit range begins and ends
lrLimit.StartIndex = 10
lrLimit.EndIndex = 19
' Add the new limit range that was created
isSeries.LimitRanges.Add(lrLimit)

[Visual C#]
// Each series has one limit range by default. Set the end index for where the first limit range ends
isSeries.LimitRanges[0].EndIndex = 9;

// Create the next limit range
LimitRange lrLimit = new LimitRange();
// Specify where the limit range begins and ends
lrLimit.StartIndex = 10;
lrLimit.EndIndex = 19;
// Add the new limit range that was created
isSeries.LimitRanges.Add(lrLimit);

After the series has been added, samples or subgroups may then be added to the series. Adding samples and subgroups is discussed here and here respectively. The resulting chart from adding the split limits should look similar to the following:

Individuals chart with split limits