Time Series Controls


Edit a Subgroup

A subgroup can be edited. This includes notes, annotations, and other properties. 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 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.

Edit a Subgroup

Below, we will edit 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]
' Add a note to the subgroup
xsSubgroup.Notes.Add("Measure")

' Add an annotation to the ith (2 below) subgroup of the series
xsSeries(2).Annotations.Add("Issue")

[Visual C#]
// Add a note to the subgroup
xsSubgroup.Notes.Add("Measure");

// Add an annotation to the ith (2 below) subgroup of the series
xsSeries[2].Annotations.Add("Issue");

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

Individuals chart with third sample edited