Xbar Control


Show the Individual Values of a Subgroup

For the xbar time series control of the .Net Analytics package, you can show the individual values of a subgroup. The xbar chart is:

In order to add samples (observations) to these charts, the samples must be added first to a subgroup. The Xbar series class is:

The Xbar subgroup class is:

and the Xbar sample class is:

The following property is used for showing the individual samples:

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

Show Individuals

Below, we will show the individual samples for a Xbar series (named xsSeries in the examples below) and a Xbar chart (named xbarChart in the examples below). The individual samples are shown at the series level:

[Visual Basic]
' Show the individuals for the series
xsSeries.ShowIndividuals = True

' Another alternative is to show the individuals of the ith (0 below) series
xbarChart.SeriesCollection(0).ShowIndividuals = True

[Visual C#]
// Show the individuals for the series
xsSeries.ShowIndividuals = true;

// Another alternative is to show the individuals of the ith (0 below) series
xbarChart.SeriesCollection[0].ShowIndividuals = true;

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

Xbar chart with individuals shown