ClassStockChartCategoryAxisLabels
Telerik UI StockChartCategoryAxisLabels.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class StockChartCategoryAxisLabels : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentStockChartCategoryAxisLabels
Implements:
Inherited Members
Constructors
StockChartCategoryAxisLabels()
Declaration
public StockChartCategoryAxisLabels()
Properties
Background
The background color of the labels. Any valid CSS color string will work here, including hex and rgb.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
Font
The font style of the labels.
Format
The format of the labels.
Position
Specifies the position of the labels.
Declaration
[Parameter]
public ChartAxisLabelsPosition? Position { get; set; }
Property Value
Skip
Number of labels to skip. Skips rendering the first n labels.
Step
Label rendering step. Every n-th label is rendered where n is the step
Template
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.
Declaration
[Parameter]
public string Template { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns