Class ChartXAxisLabels
Telerik UI ChartXAxisLabels.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class ChartXAxisLabels : DataVizChildComponent, IDisposable
Constructors
ChartXAxisLabels()
Declaration
public ChartXAxisLabels()
Properties
Background
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
Declaration
public string Background { get; set; }
Property Value
System.String
|
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Color
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
Declaration
public string Color { get; set; }
Property Value
System.String
|
Font
The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
Declaration
public string Font { get; set; }
Property Value
System.String
|
Format
The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
Declaration
public string Format { get; set; }
Property Value
System.String
|
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.
Declaration
public Nullable<bool> Mirror { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Position
Specifies the position of the labels.
Declaration
public Nullable<ChartAxisLabelsPosition> Position { get; set; }
Property Value
System.Nullable<ChartAxisLabelsPosition>
|
Skip
The number of labels to skip.
Declaration
public Nullable<double> Skip { get; set; }
Property Value
System.Nullable<System.Double>
|
Step
The label rendering step - render every n-th label. By default every label is rendered.
Declaration
public Nullable<double> Step { get; set; }
Property Value
System.Nullable<System.Double>
|
Template
The template which renders the labels.The fields which can be used in the template are: value - the category value.
Declaration
public string Template { get; set; }
Property Value
System.String
|
Visible
If set to true the chart will display the x axis labels. By default the x axis labels are visible.
Declaration
public Nullable<bool> Visible { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns
System.Collections.Generic.Dictionary<System.String, System.Object>
|