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