Click or drag to resize

LinearRegressionChannel Class

LightningChart .NET Help
Calculates and draws a linear regression line between two control points. Then draws two channel lines, one above and one below the regression line based on the selected channel type.
Inheritance Hierarchy

Namespace:  Arction.CustomControls.Trader.WinForms.DrawingTools
Assembly:  Arction.WinForms.TradingCharts (in Arction.WinForms.TradingCharts.dll) Version: 10.3.1
Syntax
public class LinearRegressionChannel : DrawingTool

The LinearRegressionChannel type exposes the following members.

Constructors
  NameDescription
Public methodLinearRegressionChannel
Constructor
Top
Properties
  NameDescription
Public propertyChannelType
Linear regression channel type
Public propertyControlPoints
Control points collection. Control points provide interactive way to modify drawing tool positioning and orientation.
(Inherited from DrawingTool.)
Public propertyFillEnabled
Show colored fills between the channel lines.
Public propertyLimitYToStackSegment
Channel lines are clipped outside the main segment, and not shown on segment indicators.
Public propertyLineColor
Gets or sets the color of the channel lines.
Public propertyLineWidth
Gets or sets the width of the channel lines.
Public propertyNumberOfStandardDeviations
The number of standard deviations between the regression trendline and the channel lines. Used when LinearRegressionChannelType is set to StandardDeviations.
Public propertyShowExtensions
Show dashed extension lines for the channel.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetControlPointsAndDraw
Draws the Drawing Tool based on the given coordinates.
(Inherited from DrawingTool.)
Public methodStartDrawing
Start defining the Drawing Tool by mouse
(Inherited from DrawingTool.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also