Histogram Control
Show/Hide Statistics
This page describes how to show and hide statistics that are shown in the
statistics box.
Statistics are at the series level. The histogram control of the .Net Analytics package is of the following type:
The series class of the histogram chart is:
The first step is to include the necessary namespaces
for the controls and add a new series.
Show and Hide Statistics
Below, we will hide some statistics and show others of a Histogram series (named
hsSeries in the
examples below):
[Visual Basic]
' Hide the median of the series in the statistics box
hsSeries.ShowMedian = False
' Show the kurtosis and skewness calculations in the
statistics box
hsSeries.ShowKurtosis = True
hsSeries.ShowSkewness = True
[Visual C#]
// Hide the median of the series in the statistics box
hsSeries.ShowMedian = false;
// Show the kurtosis and skewness calculations in the
statistics box
hsSeries.ShowKurtosis = true;
hsSeries.ShowSkewness = true;
Charts showing the statistics before and after several have been shown and hidden: