Time Series Controls


Show/Hide a Subgroup

A subgroup can be hidden from the drawing of a series. However, the series and limit range calculations of the control charts (limits, rules, statistics) are still calculated for the subgroup. Exclude the subgroup to not include it in the calculations. The time series controls of the .Net Analytics package that are based on subgroups include the following:

The series classes of these respective charts are:

and the subgroup classes are:

The following property at the subgroup level is used for showing/hiding the subgroup:

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

Hide a Subgroup

Below, we will hide 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]
' Hide the subgroup
xsSubgroup.Show = False

' Another alternative is to hide the ith (2 below) subgroup directly from the series
xsSeries(2).Show = False

[Visual C#]
// Hide the subgroup
xsSubgroup.Show = false;

// Another alternative is to hide the ith (2 below) subgroup directly from the series
xsSeries[2].Show = false;

After the subgroups have been added and the third subgroup hidden, the resulting chart should look similar to the following:

Xbar chart with third subgroup hidden