Telerik UI StockChartCategoryAxisLabels. Children: StockChartCategoryAxisLabelsBorder, StockChartCategoryAxisLabelsRotation.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class StockChartCategoryAxisLabels : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentStockChartCategoryAxisLabels
Implements:
Inherited Members
Constructors
public StockChartCategoryAxisLabels()
Properties
The background color of the labels. Any valid CSS color string will work here, including hex and rgb.
[Parameter]
public string Background { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
[Parameter]
public string Color { get; set; }
Specifies the position of the labels.
[Parameter]
public ChartAxisLabelsPosition? Position { get; set; }
Number of labels to skip. Skips rendering the first n labels.
[Parameter]
public double? Skip { get; set; }
Label rendering step. Every n-th label is rendered where n is the step
[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 or dataItem - the data item, in case a field has been specified.
[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; }
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides: