Scatter Plot Control


Show/Hide Statistics

This page describes how to adjust the confidence band of 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:

The confidence band can be one of two types:

  • Bonferroni
  • Working-Hotelling

and the following properties are responsible for adjusting the confidence band:

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

Change the Confidence Band Type and Significance

Below, we will adjust the type and level of significance for the confidence band of a Scatter plot series (named spsSeries in the examples below):

[Visual Basic]
' Change the band type to Bonferroni (the default) and set the level of significance
spsSeries.ConfidenceBandType = ConfidenceBandTypes.Bonferroni
spsSeries.LevelOfSignificance = 0.001

' Change the band type to Working-Hotelling and set the level of significance
spsSeries.ConfidenceBandType = ConfidenceBandTypes.WorkingHotelling
spsSeries.LevelOfSignificance = 0.001

[Visual C#]
// Change the band type to Bonferroni (the default) and set the level of significance
spsSeries.ConfidenceBandType = ConfidenceBandTypes.Bonferroni;
spsSeries.LevelOfSignificance = 0.001;

// Change the band type to Working-Hotelling and set the level of significance
spsSeries.ConfidenceBandType = ConfidenceBandTypes.WorkingHotelling;
spsSeries.LevelOfSignificance = 0.001;

Charts showing the statistics two types of confidence bands - Bonferroni on left and Working-Hotelling on right:

Scatter plot with statistics Scatter plot with statistics