Attributes Controls


Show/Hide a Series

This page describes how to show and hide the a series. The attributes 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 a c-Chart series (named series in the examples below) of an c-Chart (named ccChart in the examples below). The process is similar for the other charts:

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

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

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

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