RadzenChartComponentBase.SetParametersAsync
RadzenChartComponentBase.ValidateParameters
RadzenChartComponentBase.DidParameterChange
RadzenChartComponentBase.Chart
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 RadzenCategoryAxis : AxisBase, IComponent, IHandleEvent, IHandleAfterRender, IChartAxisSpecifies how category labels that do not fit the available space are displayed. A Template displays every category unchanged. Auto fits the labels once the chart knows its size: LabelRotation and LabelAutoRotation only choose the angle of the rotated labels, which are still skipped when they overlap and shortened when they are too long. None displays every label in full, rotated only as LabelRotation and LabelAutoRotation specify. Shortened labels keep their full text in the SVG title shown on hover and in the series tooltips.
public CategoryAxisLabelFit LabelFit { get; set; }
| Type | Description |
|---|---|
| CategoryAxisLabelFit | Specifies how category labels that do not fit the available space are displayed. A Template displays every category unchanged. Auto fits the labels once the chart knows its size: LabelRotation and LabelAutoRotation only choose the angle of the rotated labels, which are still skipped when they overlap and shortened when they are too long. None displays every label in full, rotated only as LabelRotation and LabelAutoRotation specify. Shortened labels keep their full text in the SVG title shown on hover and in the series tooltips. |
public double Padding { get; set; }
| Type | Description |
|---|---|
| double |
Specifies whether categories are placed between ticks (reserving half a band at each end) or on the ticks (flush to the plot edges). The default is Between.
public TickPlacement TickPlacement { get; set; }
| Type | Description |
|---|---|
| TickPlacement | Specifies whether categories are placed between ticks (reserving half a band at each end) or on the ticks (flush to the plot edges). The default is Between. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override bool ShouldRefreshChart(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| bool |