ChartSeriesTrendlineSettingsBuilder

Methods

Forecast(System.Action)

The trendline forecast settings. By default, the trendline does not display a forecast.

Parameters

configurator - System.Action<ChartSeriesTrendlineForecastSettingsBuilder>

The configurator for the forecast setting.

RETURNS

Returns the current instance of ChartSeriesTrendlineSettingsBuilder .

Order(System.Int32)

The order (degree) of the Polynomial trendline. The default value is 2.Accepted values are from 2 to 6: * 2: a Quadratic polynomial trendline with a single extreme point (minimum or maximum) point. * 3: a Cubic polynomial trendline with up to 2 extreme points. * 4: a polynomial trendline of 4th degree with up to 3 extreme points. * 5: a polynomial trendline of 5th degree with up to 4 extreme points. * 6: a polynomial trendline of 6th degree with up to 5 extreme points.

Parameters

value - System.Int32

The value for Order

RETURNS

Returns the current ChartSeriesTrendlineSettingsBuilder instance.

Period(System.Int32)

The number of intervals to take when calculating averages. The value should be an integer greater than 2.

Parameters

value - System.Int32

The value for Period

RETURNS

Returns the current ChartSeriesTrendlineSettingsBuilder instance.