Click or drag to resize

TrendLine Class

LightningChart .NET Help
Draws a straight line between two control points.
Inheritance Hierarchy

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

The TrendLine type exposes the following members.

Constructors
  NameDescription
Public methodTrendLine
Constructor
Top
Properties
  NameDescription
Public propertyControlPoints
Control points collection. Control points provide interactive way to modify drawing tool positioning and orientation.
(Inherited from DrawingTool.)
Public propertyLimitYToStackSegment
Trend line is clipped outside the main segment, and not shown on segment indicators.
Public propertyLineColor
Gets or sets the color of the Trend line.
Public propertyLineWidth
Gets or sets the width of the Trend line.
Public propertyMagnetic
Trend line is attached to the nearest OHLC-data value in vertical direction.
Public propertyShowExtensions
Show dashed extension lines for the Trend line.
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