Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenBarOptions

    Common configuration of RadzenBarSeries<TItem>.

    Inheritance
    object
    ComponentBase
    RadzenChartComponentBase
    RadzenBarOptions
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    RadzenChartComponentBase.SetParametersAsync(ParameterView)
    RadzenChartComponentBase.ValidateParameters()
    RadzenChartComponentBase.DidParameterChange<T>(ParameterView, string, T)
    RadzenChartComponentBase.Chart
    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 class RadzenBarOptions : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender

    Constructors

    RadzenBarOptions()

    Common configuration of RadzenBarSeries<TItem>.

    Declaration
    public RadzenBarOptions()

    Properties

    Height

    Gets or sets the height of all bars in pixels. By default it is automatically calculated depending on the chart height.

    Declaration
    [Parameter]
    public double? Height { get; set; }
    Property Value
    Type Description
    double?

    The pixel height of the bar. By default set to null

    Margin

    Gets or sets the margin between bars.

    Declaration
    [Parameter]
    public double Margin { get; set; }
    Property Value
    Type Description
    double

    The margin. By default set to 10

    Radius

    Gets or sets the border radius of the bars.

    Declaration
    [Parameter]
    public double Radius { get; set; }
    Property Value
    Type Description
    double

    The radius. Values greater than 0 make rounded corners.

    Methods

    Initialize()

    Perform initialization when Chart is set.

    Declaration
    protected override void Initialize()
    Overrides
    RadzenChartComponentBase.Initialize()

    ShouldRefreshChart(ParameterView)

    Determines if RadzenChart should render.

    Declaration
    protected override bool ShouldRefreshChart(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters

    The parameters.

    Returns
    Type Description
    bool
    Overrides
    RadzenChartComponentBase.ShouldRefreshChart(ParameterView)

    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