Time Series Controls


Enable/Disable Run Rule

This page describes how to enable/disable rules of the time series controls. The time series controls are:

The rules for the time series controls are located at the limit range level.

A rule of the controls is of the following type:

and the property below is used to enable/disable a rule:

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

Enable a Rule

Below, we will enable the first rule of an Individuals series (named isSeries in the examples below). The first rule detects if any samples are above the UCL or below the LCL. The built-in rules are described here. All of the rules are disabled by default. The process is similar for the other charts listed above:

[Visual Basic]
' Enable the first rule
isSeries.LimitRanges(0).Rules(0).DoRule = True

[Visual C#]
// Enable the first rule
isSeries.LimitRanges[0].Rules[0].DoRule = true;

In the chart below, you can test the code to see what the result will look like:

Get Microsoft Silverlight