Back to Devexpress

TrendLine Class

corelibraries-devexpress-dot-xtracharts-d7869386.md

latest2.8 KB
Original Source

TrendLine Class

Represents an individual Trend Line.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public class TrendLine :
    FinancialIndicator
vb
Public Class TrendLine
    Inherits 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

IXtraSerializable

Inheritance

Object ChartElement ChartElementNamed Indicator FinancialIndicator TrendLine

See Also

TrendLine Members

Trend Lines

DevExpress.XtraCharts Namespace