New to Telerik UI for BlazorStart a free 30-day trial

Definition

Constructors

C#
public StockChartCategoryAxis()

Properties

Category index at which the first value axis crosses this axis. (Only for object)Category indicies at which the value axes cross the category axis. (Only for array)Note: Specify an index greater than or equal to the number of categories to denote the far end of the axis.

C#
[Parameter]
public object[] AxisCrossingValue { get; set; }

The background color of the axis.

C#
[Parameter]
public string Background { get; set; }

Specifies the base time interval for the axis.

C#
[Parameter]
public ChartCategoryAxisBaseUnit? BaseUnit { get; set; }

The step (interval) between categories in base units. Setting it to "auto" will set the step to such value that the total number of categories does not exceed categoryAxis.maxDateGroups.This option is ignored if categoryAxis.baseUnit is set to "fit".

C#
[Parameter]
public object BaseUnitStep { get; set; }
C#
[Parameter]
public RenderFragment ChildContent { get; set; }

Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb. Individual color settings for line and labels take priority.

C#
[Parameter]
public string Color { get; set; }

The data field containing the category name.

C#
[Parameter]
public string Field { get; set; }

Specifies the maximum number of groups (categories) to produce when either baseUnit is set to "fit" or baseUnitStep is set to "auto".This option is ignored in all other cases.The default value is approximately equal to [widget width, px] / 30

C#
[Parameter]
public double? MaxDateGroups { get; set; }

The unique axis name.

C#
[Parameter]
public string Name { get; set; }

Reverses the axis direction - categories are listed from right to left and from top to bottom.

C#
[Parameter]
public bool? Reverse { get; set; }

The axis type.

C#
[Parameter]
public ChartCategoryAxisType? Type { get; set; }

The visibility of the axis.

C#
[Parameter]
public bool? Visible { get; set; }

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

Overrides: DataVizChildComponent.Dispose(bool)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()