Class
ChartSeriesTrendlineForecast

Configures trendline forecasting to extend trend analysis beyond the current data range for predictive visualization. Controls how far the trendline extends before and after the actual data points to provide future projections and historical trend context.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ChartSeriesTrendlineForecast : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentChartSeriesTrendlineForecast

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ChartSeriesTrendlineForecast()

Declaration

cs-api-definition
public ChartSeriesTrendlineForecast()

Properties

After

Specifies the number of intervals to extend the trendline forward after the last data point for future trend projection. Use values like 5-15 intervals to show predicted trend continuation, helping users understand potential future data patterns and trajectories.

Declaration

cs-api-definition
[Parameter]
public double? After { get; set; }

Property Value

double?

Before

Specifies the number of intervals to extend the trendline backward before the first data point for historical trend context. Use values like 3-10 intervals to show how the trend would have appeared in the past, providing additional analytical context for trend analysis.

Declaration

cs-api-definition
[Parameter]
public double? Before { get; set; }

Property Value

double?

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>