A newer version of this page is available. Switch to the current version.

TrendLine Class

Represents an individual Trend Line.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[TypeConverter(typeof(TrendLineTypeConverter))]
public class TrendLine :
    FinancialIndicator
<TypeConverter(GetType(TrendLineTypeConverter))>
Public Class TrendLine
    Inherits FinancialIndicator

Related API Members

The following members accept/return TrendLine objects:

Remarks

Objects of the TrendLine type are contained in the IndicatorCollection returned by the XYDiagram2DSeriesViewBase.Indicators property.

To create a Trend Line, it is necessary to specify its FinancialIndicator.Point1 and FinancialIndicator.Point2 properties. And, each point is defined by its FinancialIndicatorPoint.Argument and FinancialIndicatorPoint.ValueLevel properties.

To extend a Trend Line to infinity, enable its TrendLine.ExtrapolateToInfinity property.

For more information, see Trend Lines.

See Also