Histogram Control
Show/Hide Normal Curve
This page describes how to show and hide the normal curve of a histogram series. The histogram control of the .Net Analytics package is of the following type:
The series class of the histogram chart is:
and the following property is responsible for showing/hiding the normal curve:
The first step is to include the necessary namespaces
for the controls and add a new series.
Show and Hide Normal Curve
Below, we will show (set by default) and hide the normal curve of a Histogram series (named
hsSeries in the
examples below):
[Visual Basic]
' Hide the normal curve
hsSeries.ShowCurve = False
' Show the normal curve
hsSeries.ShowCurve = True
[Visual C#]
// Hide the normal curve
hsSeries.ShowCurve = false;
// Show the normal curve
hsSeries.ShowCurve = true;
Charts showing before and after the normal curve has been shown and hidden: