Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenChartComponentBase

    Base class of components that are rendered inside a RadzenChart.

    Inheritance
    System.Object
    RadzenChartComponentBase
    AxisBase
    CartesianSeries<TItem>
    RadzenAxisTitle
    RadzenBarOptions
    RadzenChartTooltipOptions
    RadzenColumnOptions
    RadzenGridLines
    RadzenLegend
    RadzenMarkers
    RadzenSeriesAnnotation<TItem>
    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

    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)

    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()

    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