TrendLine.ExtrapolateToNegativeInfinity Property
Specifies whether the Trend Line is extrapolated to negative infinity.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public bool ExtrapolateToNegativeInfinity { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
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 ExtrapolateToNegativeInfinity
property to true
to extrapolate the Trend Line to negative infinity.
Refer to the following topic for more information: Trend Lines.
Example
The image below illustrates the stock chart with the ExtrapolateToNegativeInfinity
property set to true
. The chart extrapolates the current Trend Line beyond the start and end point’s arguments.
Refer to the following example for information on how to implement a Trend Line to the stock chart at runtime: