Telerik UI StockChartValueAxisLabels. Children: StockChartValueAxisLabelsBorder, StockChartValueAxisLabelsRotation.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
C#
public class StockChartValueAxisLabels : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentStockChartValueAxisLabels
Implements:
Inherited Members
Constructors
C#
public StockChartValueAxisLabels()
Methods
C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
C#
protected override void OnInitialized()
Overrides:
C#
protected override void OnParametersSet()
Overrides:
Properties
The background color of the labels. Any valid CSS color string will work here, including hex and rgb
C#
[Parameter]
public string Background { get; set; }
C#
[Parameter]
public RenderFragment ChildContent { get; set; }
The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
C#
[Parameter]
public string Color { get; set; }
Specifies the position of the labels.
C#
[Parameter]
public ChartAxisLabelsPosition? Position { get; set; }
Number of labels to skip. Skips rendering the first n labels.
C#
[Parameter]
public double? Skip { get; set; }
Label rendering step. Every n-th label is rendered where n is the step
C#
[Parameter]
public double? Step { get; set; }
The label template. Template variables: value - the 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; }