Class ChartSeriesLabels
Telerik UI ChartSeriesLabels.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class ChartSeriesLabels : DataVizChildComponent, IDisposable
Constructors
ChartSeriesLabels()
Declaration
public ChartSeriesLabels()
Properties
Align
Specifies the alignment of the labels.
Declaration
public Nullable<ChartSeriesLabelsAlign> Align { get; set; }
Property Value
System.Nullable<ChartSeriesLabelsAlign>
|
AriaTemplate
The name of the JS function, which returns the ARIA content of the series point.
Declaration
public string AriaTemplate { get; set; }
Property Value
System.String
|
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
|
Distance
The distance of the labels when series.type is set to "donut" or "pie".
Declaration
public Nullable<double> Distance { get; set; }
Property Value
System.Nullable<System.Double>
|
Font
The font style of the labels. Accepts a valid CSS font string, for example "20px Courier New'".
Declaration
public string Font { get; set; }
Property Value
System.String
|
Format
The format of the labels. Uses kendo.format.Format placeholders: Area, bar, column, line, pie, radarArea, radarColumn and radarLine{0} - value; Bubble{0} - x value{1} - y value{2} - size value{3} - category name; Bullet{0} - value{1} - target value; Scatter, scatterLine{0} - x value{1} - y value; PolarArea, polarLine and polarScatter{0} - x value (degrees){1} - y value; Candlestick and OHLC{0} - open value{1} - high value{2} - low value{3} - close value{4} - category name or RangeArea, rangeBar, rangeColumn{0} - from value{1} - to value.
Declaration
public string Format { get; set; }
Property Value
System.String
|
Position
Specifies the position of the labels.
Declaration
public Nullable<ChartSeriesLabelsPosition> Position { get; set; }
Property Value
System.Nullable<ChartSeriesLabelsPosition>
|
Rotation
The rotation angle of the labels. By default, the labels are not rotated.
Declaration
public string Rotation { get; set; }
Property Value
System.String
|
Template
The template which renders the chart series label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, line, pie and waterfall series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; series - the data series; stackValue - the cumulative point value on the stack. Available only for stackable series.; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
Declaration
public string Template { get; set; }
Property Value
System.String
|
Visible
If set to true the chart will display the series labels. By default chart series labels are not displayed.
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>
|