Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenChartComponentBase

    Base class of components that are rendered inside a RadzenChart.

    Inheritance
    object
    ComponentBase
    RadzenChartComponentBase
    AxisBase
    CartesianSeries<TItem>
    RadzenAxisTitle
    RadzenBarOptions
    RadzenChartTooltipOptions
    RadzenColumnOptions
    RadzenGridLines
    RadzenLegend
    RadzenMarkers
    RadzenSeriesAnnotation<TItem>
    RadzenSeriesDataLabels
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public abstract class RadzenChartComponentBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

    Constructors

    RadzenChartComponentBase()

    Base class of components that are rendered inside a RadzenChart.

    Declaration
    protected RadzenChartComponentBase()

    Properties

    Chart

    Used to inject the RadzenChart instance. Invokes Initialize().

    Declaration
    [CascadingParameter]
    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.

    string parameterName

    Name of the parameter.

    T parameterValue

    The parameter value.

    Returns
    Type Description
    bool

    true if the parameter changed, false otherwise.

    Type Parameters
    Name Description
    T

    Initialize()

    Perform initialization when Chart is set.

    Declaration
    protected virtual void Initialize()

    SetParametersAsync(ParameterView)

    Base class of components that are rendered inside a RadzenChart.

    Declaration
    public override Task SetParametersAsync(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters
    Returns
    Type Description
    Task
    Overrides
    ComponentBase.SetParametersAsync(ParameterView)

    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
    bool

    ValidateParameters()

    Validates the parameters.

    Declaration
    protected virtual void ValidateParameters()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT