Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenBarOptions

    Common configuration of RadzenBarSeries<TItem>.

    Inheritance
    System.Object
    RadzenChartComponentBase
    RadzenBarOptions
    Inherited Members
    RadzenChartComponentBase.Chart
    RadzenChartComponentBase.SetParametersAsync(ParameterView)
    RadzenChartComponentBase.ValidateParameters()
    RadzenChartComponentBase.DidParameterChange<T>(ParameterView, String, T)
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenBarOptions : RadzenChartComponentBase

    Properties

    Height

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

    Declaration
    public double? Height { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

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

    Margin

    Gets or sets the margin between bars.

    Declaration
    public double Margin { get; set; }
    Property Value
    Type Description
    System.Double

    The margin. By default set to 10

    Radius

    Gets or sets the border radius of the bars.

    Declaration
    public double Radius { get; set; }
    Property Value
    Type Description
    System.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
    System.Boolean
    Overrides
    RadzenChartComponentBase.ShouldRefreshChart(ParameterView)

    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