Class RadzenChartComponentBase
Base class of components that are rendered inside a RadzenChart.
Inheritance
System.Object
RadzenChartComponentBase
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public abstract class RadzenChartComponentBase : ComponentBase
Properties
Chart
Used to inject the RadzenChart instance. Invokes Initialize().
Declaration
public RadzenChart Chart { get; set; }
Property Value
Type | Description |
---|---|
RadzenChart | The chart. |
Methods
DidParameterChange<T>(ParameterView, String, T)
Checks if the specified parameter changed.
Declaration
protected bool DidParameterChange<T>(ParameterView parameters, string parameterName, T parameterValue)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
System.String | parameterName | Name of the parameter. |
T | parameterValue | The parameter value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
T |
Initialize()
Perform initialization when Chart is set.
Declaration
protected virtual void Initialize()
SetParametersAsync(ParameterView)
Declaration
public override async Task SetParametersAsync(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters |
Returns
Type | Description |
---|---|
Task |
ShouldRefreshChart(ParameterView)
Determines if RadzenChart should render.
Declaration
protected virtual bool ShouldRefreshChart(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
Returns
Type | Description |
---|---|
System.Boolean |
ValidateParameters()
Validates the parameters.
Declaration
protected virtual void ValidateParameters()