ClassChartYAxisLabels
Telerik UI ChartYAxisLabels.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartYAxisLabels : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartYAxisLabels
Implements:
Inherited Members
Constructors
ChartYAxisLabels()
Declaration
public ChartYAxisLabels()
Properties
Background
The background color of the labels. Accepts a valid CSS color string, 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. Accepts a valid CSS color string, including hex and rgb.
Font
The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
Format
The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
Mirror
If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.
Position
Specifies the position of the labels.
Declaration
[Parameter]
public ChartAxisLabelsPosition? Position { get; set; }
Property Value
Skip
The number of labels to skip.
Step
The label rendering step - render every n-th label. By default every label is rendered.
Template
The template which renders the labels.The fields which can be used in the template are: value - the category value.
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