Skip to main content

TrendLine Class

Represents an individual Trend Line.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.dll

NuGet Package: DevExpress.Charts


public class TrendLine :

The following members return TrendLine objects:


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