Skip to main content

TrendLine Class

Represents an individual Trend Line.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(TrendLineTypeConverter))]
public class TrendLine :
    FinancialIndicator

The following members 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.

Implements

See Also