ClassStockChartCategoryAxis
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class StockChartCategoryAxis : DataVizCollectionItemComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentDataVizCollectionItemComponentStockChartCategoryAxis
Implements:
Inherited Members
Constructors
StockChartCategoryAxis()
Declaration
public StockChartCategoryAxis()
Properties
AxisCrossingValue
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.
Declaration
[Parameter]
public object[] AxisCrossingValue { get; set; }
Property Value
object[]
Background
The background color of the axis.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
BaseUnit
Specifies the base time interval for the axis.
Declaration
[Parameter]
public ChartCategoryAxisBaseUnit? BaseUnit { get; set; }
Property Value
BaseUnitStep
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".
Declaration
[Parameter]
public object BaseUnitStep { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
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.
Field
The data field containing the category name.
MaxDateGroups
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
Declaration
[Parameter]
public double? MaxDateGroups { get; set; }
Property Value
Name
The unique axis name.
Reverse
Reverses the axis direction - categories are listed from right to left and from top to bottom.
Type
The axis type.
Declaration
[Parameter]
public ChartCategoryAxisType? Type { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides