Scatter Plot Control


Show/Hide the Confidence Band

This page describes how to show and hide the confidence band of a scatter plot series. The scatter plot control of the .Net Analytics package is of the following type:

The series class of the scatter plot is:

and the following property is responsible for showing/hiding the confidence band:

The first step is to include the necessary namespaces for the controls and add new series.

Show and Hide the Confidence Band

Below, we will hide (set by default) and show the confidence band of a Scatter plot series (named spsSeries in the examples below):

[Visual Basic]
' Hide the confidence band
spsSeries.ShowConfidenceBand = False

' Show the confidence band
spsSeries.ShowConfidenceBand = True

[Visual C#]
// Hide the confidence band
spsSeries.ShowConfidenceBand = false;

// Show the confidence band
spsSeries.ShowConfidenceBand = true;

Charts showing before and after the confidence band has been shown and hidden:

Scatter plot with first series shown Scatter plot with second series shown