Base class of components that are rendered inside a RadzenChart.
Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
ComponentBase.BuildRenderTree
ComponentBase.OnInitialized
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.OnAfterRenderAsync
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public abstract class RadzenChartComponentBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderBase class of components that are rendered inside a RadzenChart.
protected RadzenChartComponentBase()Used to inject the RadzenChart instance. Invokes Initialize.
public RadzenChart Chart { get; set; }
| Type | Description |
|---|---|
| RadzenChart | Used to inject the RadzenChart instance. Invokes Initialize. |
Checks if the specified parameter changed.
protected bool DidParameterChange(ParameterView parameters, string parameterName, T parameterValue)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters | The parameters. |
| string | parameterName | Name of the parameter. |
| T | parameterValue | The parameter value. |
| Type | Description |
|---|---|
| bool | true if the parameter changed, false otherwise. |
Perform initialization when Chart is set.
protected virtual void Initialize()public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |
Determines if RadzenChart should render.
protected virtual bool ShouldRefreshChart(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters | The parameters. |
| Type | Description |
|---|---|
| bool |
Validates the parameters.
protected virtual void ValidateParameters()