Class
ChartBase<TSeries>

Base chart component.

Definition

Namespace:Telerik.Generated.Blazor.Components

Assembly:Telerik.Blazor.dll

Type Parameters:

TSeries

Syntax:

cs-api-definition
public abstract class ChartBase<TSeries> : DataVizComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable where TSeries : ChartSeriesBase

Inheritance: objectComponentBaseBaseComponentDataVizComponentChartBase<TSeries>

Derived Classes: TelerikChartTelerikStockChart

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnParametersSetAsync()ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ChartBase()

Declaration

cs-api-definition
protected ChartBase()

Properties

Id

Specifies the id of the component.

Declaration

cs-api-definition
[Parameter]
public string Id { get; set; }

Property Value

string

OnAxisLabelClick

Specifies the axis label click event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<ChartAxisLabelClickEventArgs> OnAxisLabelClick { get; set; }

Property Value

EventCallback<ChartAxisLabelClickEventArgs>

OnLegendItemClick

Specifies the legend item click event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<ChartLegendItemClickEventArgs> OnLegendItemClick { get; set; }

Property Value

EventCallback<ChartLegendItemClickEventArgs>

OnSeriesClick

Specifies the series click event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<ChartSeriesClickEventArgs> OnSeriesClick { get; set; }

Property Value

EventCallback<ChartSeriesClickEventArgs>

Methods

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides DataVizComponent.Dispose()

OnAfterRender(bool)

Declaration

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

Parameters

firstRender

bool

Overrides DataVizComponent.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides DataVizComponent.OnParametersSet()