wpf-devexpress-dot-xpf-dot-charts-3fdf3685.md
Represents an individual Trend Line.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public class TrendLine :
FinancialIndicator
Public Class TrendLine
Inherits FinancialIndicator
Objects of the TrendLine type are contained in the IndicatorCollection returned by the XYSeries2D.Indicators property.
To create a Trend Line, it is necessary to specify FinancialIndicator.Argument1 and FinancialIndicator.ValueLevel1 properties for the first point, and FinancialIndicator.Argument2 and FinancialIndicator.ValueLevel2 properties for the second point.
The chart automatically extrapolates the Trend Line to infinity (beyond the point’s argument in the positive direction of the axis). You can also extrapolate the Trend Line to negative infinity or limit the Trend Line to its points.
Set the TrendLine.ExtrapolateToInfinity property to false to limit the Trend Line to the point.
Set the TrendLine.ExtrapolateToNegativeInfinity property to true to extrapolate the Trend Line to negative infinity.
For more information, see Trend Lines.
Show 12 items
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ChartElementBase ChartElement Indicator FinancialIndicator TrendLine
See Also