Pareto Control
Edit Curve Appearance
This page describes how to change the appearance of the curve of a pareto series. The pareto control of the .Net Analytics package is of the following type:
The series class of the pareto chart is:
and the following properties are responsible for the curve appearance:
The first step is to include the necessary namespaces
for the controls and add a new series.
Change Curve Appearance
Below, we will change the appearance of the curve for a Pareto series (named
psSeries in the
examples below):
[Visual Basic]
' Change the appearance of the curve
psSeries.CurveColor = Color.Green
psSeries.CurveWidth = 2
psSeries.CurveStyle = System.Drawing.Drawing2D.DashStyle.DashDot
[Visual C#]
// Change the appearance of the curve
psSeries.CurveColor = Color.Green;
psSeries.CurveWidth = 2;
psSeries.CurveStyle = System.Drawing.Drawing2D.DashStyle.DashDot;
Charts showing before and after the curve appearance has been edited: