New to Telerik UI for ASP.NET MVC? Download free 30-day trial

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)));
                        })
            )

In this article
Not finding the help you need?