All Controls
Show/Hide Statistics Box
This page describes how to show or hide the statistics box of the charts/controls. The statistics box is of the following type:
The statistics box holds the statistics of both the series and
limit ranges (multiple/split limits). You can
show or hide statistics that appear in the
statistics box.
The first step is to include the necessary namespace
and add a new chart/control.
Hide the Statistics Box
Below, we will hide the statistics box of an Histogram control (named histogramControl in the examples below). The process is similar for the other charts:
[Visual Basic]
' Hide the statistics box
histogramControl.StatisticsBox.Visibility = System.Windows.Visibility.Collapsed
[Visual C#]
// Hide the statistics box
histogramControl.StatisticsBox.Visibility = System.Windows.Visibility.Collapsed;
In the chart below, you can test the code to see what the result will look like: