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

Definition

Constructors

C#
public StockChartNavigatorCategoryAxisLabels()

Methods

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

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

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

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

The background color of the labels. Accepts a valid CSS color string, including hex and rgb.

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

The text color of the labels. Accepts a valid CSS color string, including hex and rgb.

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

The font style of the labels.

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

The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.

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

The number of labels to skip. By default no labels are skipped.

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

The label rendering step - render every n-th label. By default every label is rendered.

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

The template which renders the labels.The fields which can be used in the template are: value - the category value.

C#
[Parameter]
[Obsolete("\r\n            The syntax with template literals, e.g. '#= dataItem.Value #' is now deprecated and will be removed in the future.\r\n            You need to migrate to using the name of a JavaScript function that returns the value, e.g. Template='getTemplateValue'\r\n            See https://www.telerik.com/blazor-ui/documentation/components/chart/labels-template-and-format#templates\r\n            and https://www.telerik.com/blazor-ui/documentation/troubleshooting/csp#legacy-settings.\r\n        ")]
public string Template { get; set; }

If set to true the chart will display the category axis labels. By default the category axis labels are visible.

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