Scatter Plot Control
Edit Fitted Curve Appearance
This page describes how to edit the appearance of the
confidence band for 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 properties are responsible for the
confidence band appearance:
The first step is to include the necessary namespaces
for the controls and add new series.
Change Confidence Band Appearance
Below, we will change the appearance of the confidence band for a Scatter plot series (named
spsSeries in the
examples below):
[Visual Basic]
' Change the appearance of the fitted curve
spsSeries.ConfidenceBandColor = Color.Green
spsSeries.ConfidenceBandWidth = 2
spsSeries.ConfidenceBandStyle = System.Drawing.Drawing2D.DashStyle.DashDot
[Visual C#]
// Change the appearance of the fitted curve
spsSeries.ConfidenceBandColor = Color.Green;
spsSeries.ConfidenceBandWidth = 2;
spsSeries.ConfidenceBandStyle = System.Drawing.Drawing2D.DashStyle.DashDot;
Charts showing before and after the confidence band appearance for the series has been edited: