Class ChartLegendLabels
Telerik UI ChartLegendLabels.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class ChartLegendLabels : DataVizChildComponent, IDisposable
Constructors
ChartLegendLabels()
Declaration
public ChartLegendLabels()
Properties
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
|
Template
The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts..
Declaration
public string Template { get; set; }
Property Value
System.String
|
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>
|