ChartSeriesTrendlineForecastSettingsBuilder
Methods
Before(System.Double)
The number of intervals to extend the trendline before the first data point.
Parameters
value - System.Double
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => {
series.MovingAverageTrendline()
.Trendline(trendline=>trendline.Forecast(f=>f.Before(2)));
})
)
After(System.Double)
The number of intervals to extend the trendline after the last data point.
Parameters
value - System.Double
Example
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => {
series.MovingAverageTrendline()
.Trendline(trendline=>trendline.Forecast(f=>f.After(2)));
})
)