Histogram Control
Show/Hide Normal Curve
This page describes how to show and hide the normal curve of a histogram series. The histogram chart/control of the .Net Analytics package are of the following types:
The series class of the histogram chart/control is:
and the following property is responsible for showing/hiding the normal curve:
The first step is to include the necessary namespace
and add a new chart/control.
Show and Hide Normal Curve
Below, we will show 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;
In the chart below, you can test the code to see what the result will look like: