Class
StockChartValueAxisLabels

Telerik UI StockChartValueAxisLabels.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class StockChartValueAxisLabels : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentStockChartValueAxisLabels

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

StockChartValueAxisLabels()

Declaration

cs-api-definition
public StockChartValueAxisLabels()

Properties

Background

The background color of the labels. Any valid CSS color string will work here, including hex and rgb

Declaration

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

Property Value

string

ChildContent

Declaration

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

Property Value

RenderFragment

Color

The text color of the labels. Any valid CSS color string will work here, including hex and rgb.

Declaration

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

Property Value

string

Font

The font style of the labels.

Declaration

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

Property Value

string

Format

The format of the labels.

Declaration

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

Property Value

string

Position

Specifies the position of the labels.

Declaration

cs-api-definition
[Parameter]
public ChartAxisLabelsPosition? Position { get; set; }

Property Value

ChartAxisLabelsPosition?

Skip

Number of labels to skip. Skips rendering the first n labels.

Declaration

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

Property Value

double?

Step

Label rendering step. Every n-th label is rendered where n is the step

Declaration

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

Property Value

double?

Template

The label template. Template variables: value - the value.

Declaration

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

Property Value

string

Visible

The visibility of the labels.

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)

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()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>