Common configuration of RadzenBarSeries<T>.
IComponent
IHandleEvent
IHandleAfterRender
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
public class RadzenBarOptions : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRenderCommon configuration of RadzenBarSeries<T>.
public RadzenBarOptions()Gets or sets the fraction (0 to 1) of each category band left empty as a gap, controlling how thick the bars are relative to the space available per category. For example 0.4 makes the bars occupy 60% of the band. When null (the default) the height is derived from the chart size automatically. Has no effect when Height is set.
public double? CategoryGap { get; set; }
| Type | Description |
|---|---|
| double? | Gets or sets the fraction (0 to 1) of each category band left empty as a gap, controlling how thick the bars are relative to the space available per category. For example 0.4 makes the bars occupy 60% of the band. When null (the default) the height is derived from the chart size automatically. Has no effect when Height is set. |
Gets or sets the height of all bars in pixels. By default it is automatically calculated depending on the chart height.
public double? Height { get; set; }
| Type | Description |
|---|---|
| double? | Gets or sets the height of all bars in pixels. By default it is automatically calculated depending on the chart height. |
Gets or sets the margin between bars.
public double Margin { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the margin between bars. |
Gets or sets the maximum height of a bar in pixels. When the automatically calculated height exceeds this value the bars are capped to it and stay centered on their category. Has no effect when Height is set.
public double? MaxHeight { get; set; }
| Type | Description |
|---|---|
| double? | Gets or sets the maximum height of a bar in pixels. When the automatically calculated height exceeds this value the bars are capped to it and stay centered on their category. Has no effect when Height is set. |
Gets or sets the border radius of the bars.
public double Radius { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the border radius of the bars. |
protected override bool ShouldRefreshChart(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| bool |