Time Series Controls


Show/Hide a Series

This page describes how to show and hide the a series. The time series controls of the .Net Analytics package include the following:

The series classes of the respective charts are:

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

The first step is to include the necessary namespaces for the controls.

Hide a Series

Below, we will hide an Individual series (named isSeries in the examples below) of an Individuals chart (named indChart in the examples below). The process is similar for the other charts:

[Visual Basic]
' Hide the series
isSeries.Show = False

' An alternative method to hide the ith (0 below) series
indChart.SeriesCollection(0).Show = False

[Visual C#]
// Hide the series
isSeries.Show = false;

// An alternative method to hide the ith (0 below) series
indChart.SeriesCollection[0].Show = false;