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