Base class for an axis in RadzenChart.
RadzenChartComponentBase.Initialize
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 abstract class AxisBase : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IChartAxisGets or sets the child content.
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the child content. |
Gets or sets the format string used to display the axis values.
public string FormatString { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the format string used to display the axis values. |
Gets or sets a formatter function that formats the axis values.
public Func<object, string> Formatter { get; set; }
| Type | Description |
|---|---|
| Func<object, string> | Gets or sets a formatter function that formats the axis values. |
Gets or sets the grid lines configuration of the current axis.
public RadzenGridLines GridLines { get; set; }
| Type | Description |
|---|---|
| RadzenGridLines | Gets or sets the grid lines configuration of the current axis. |
Specifies the automatic label rotation angle in degrees. If set RadzenChart will automatically rotate the labels to fit the available space by the specified value. Has lower precedence than LabelRotation.
public double? LabelAutoRotation { get; set; }
| Type | Description |
|---|---|
| double? | Specifies the automatic label rotation angle in degrees. If set RadzenChart will automatically rotate the labels to fit the available space by the specified value. Has lower precedence than LabelRotation. |
Specifies the label rotation angle in degrees. Set to null by default which means no rotation is applied. Has higher precedence than LabelAutoRotation.
public double? LabelRotation { get; set; }
| Type | Description |
|---|---|
| double? | Specifies the label rotation angle in degrees. Set to null by default which means no rotation is applied. Has higher precedence than LabelAutoRotation. |
Gets or sets the type of the line used to display the axis.
public LineType LineType { get; set; }
| Type | Description |
|---|---|
| LineType | Gets or sets the type of the line used to display the axis. |
Specifies the maximum value of the axis.
public object Max { get; set; }
| Type | Description |
|---|---|
| object | Specifies the maximum value of the axis. |
Specifies the minimum value of the axis.
public object Min { get; set; }
| Type | Description |
|---|---|
| object | Specifies the minimum value of the axis. |
Specifies the step of the axis.
public object Step { get; set; }
| Type | Description |
|---|---|
| object | Specifies the step of the axis. |
Gets or sets the stroke (line color) of the axis.
public string Stroke { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the stroke (line color) of the axis. |
Gets or sets the pixel width of axis.
public double StrokeWidth { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the pixel width of axis. |
Gets or sets the pixel distance between axis ticks. It is used to calculate the number of visible ticks depending on the available space. Set to 100 by default; Setting Step will override this value.
public int TickDistance { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets the pixel distance between axis ticks. It is used to calculate the number of visible ticks depending on the available space. Set to 100 by default; Setting Step will override this value. |
Gets or sets the ticks configuration.
public RadzenTicks Ticks { get; set; }
| Type | Description |
|---|---|
| RadzenTicks | Gets or sets the ticks configuration. |
Gets or sets the title configuration.
public RadzenAxisTitle Title { get; set; }
| Type | Description |
|---|---|
| RadzenAxisTitle | Gets or sets the title configuration. |
protected override bool ShouldRefreshChart(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| bool |