RadzenBarOptions Class

Common configuration of RadzenBarSeries<T>.

Inheritance

Object

ComponentBase

RadzenChartComponentBase

RadzenBarOptions

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenChartComponentBase.SetParametersAsync

RadzenChartComponentBase.ValidateParameters

RadzenChartComponentBase.DidParameterChange

RadzenChartComponentBase.Chart

ComponentBase.BuildRenderTree

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenBarOptions : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

RadzenBarOptionslink

Common configuration of RadzenBarSeries<T>.

Declaration
public RadzenBarOptions()

Properties

Heightlink

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
double?Gets or sets the height of all bars in pixels. By default it is automatically calculated depending on the chart height.

Marginlink

Gets or sets the margin between bars.

Declaration
public double Margin { get; set; }
Property Value
Type Description
doubleGets or sets the margin between bars.

Radiuslink

Gets or sets the border radius of the bars.

Declaration
public double Radius { get; set; }
Property Value
Type Description
doubleGets or sets the border radius of the bars.

Methods

Initializelink

Declaration
protected override void Initialize()

ShouldRefreshChartlink

Declaration
protected override bool ShouldRefreshChart(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
bool
An error has occurred. This app may no longer respond until reloaded. Reload 🗙