Skip to main content
RSS feed Subscribe to feed


Fitting Model: Modifying the Curve Style

This example modifies the properties of a curve fit and sets up individual fitting by color.

// Change the line style to thin red.
straightLineFit.Line.Color = Color.Red;
straightLineFit.Line.Width = 1;
straightLineFit.Line.LineStyle = LineStyle.Single;

// Enable individual fitting by color.
straightLineFit.IndividualFittingModes = IndividualFittingModes.Color;