Class
StockChartCategoryAxis

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class StockChartCategoryAxis : DataVizCollectionItemComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentDataVizCollectionItemComponentStockChartCategoryAxis

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

StockChartCategoryAxis()

Declaration

cs-api-definition
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

cs-api-definition
[Parameter]
public object[] AxisCrossingValue { get; set; }

Property Value

object[]

Background

The background color of the axis.

Declaration

cs-api-definition
[Parameter]
public string Background { get; set; }

Property Value

string

BaseUnit

Specifies the base time interval for the axis.

Declaration

cs-api-definition
[Parameter]
public ChartCategoryAxisBaseUnit? BaseUnit { get; set; }

Property Value

ChartCategoryAxisBaseUnit?

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

cs-api-definition
[Parameter]
public object BaseUnitStep { get; set; }

Property Value

object

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

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.

Declaration

cs-api-definition
[Parameter]
public string Color { get; set; }

Property Value

string

Field

The data field containing the category name.

Declaration

cs-api-definition
[Parameter]
public string Field { get; set; }

Property Value

string

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

cs-api-definition
[Parameter]
public double? MaxDateGroups { get; set; }

Property Value

double?

Name

The unique axis name.

Declaration

cs-api-definition
[Parameter]
public string Name { get; set; }

Property Value

string

Reverse

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

Declaration

cs-api-definition
[Parameter]
public bool? Reverse { get; set; }

Property Value

bool?

Type

The axis type.

Declaration

cs-api-definition
[Parameter]
public ChartCategoryAxisType? Type { get; set; }

Property Value

ChartCategoryAxisType?

Visible

The visibility of the axis.

Declaration

cs-api-definition
[Parameter]
public bool? Visible { get; set; }

Property Value

bool?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides DataVizChildComponent.Dispose()

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()