Class ChartTitle
Telerik UI ChartTitle.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class ChartTitle : DataVizChildComponent, IDisposable
Constructors
ChartTitle()
Declaration
public ChartTitle()
Properties
Align
Specifies the text alignment.
Declaration
public Nullable<ChartTitleAlign> Align { get; set; }
Property Value
System.Nullable<ChartTitleAlign>
|
Background
The background color of the title. 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 title. Accepts a valid CSS color string, including hex and rgb.
Declaration
public string Color { get; set; }
Property Value
System.String
|
Description
The accessible description of the chart. Announced by screen readers when the char is focused.
Declaration
public string Description { get; set; }
Property Value
System.String
|
Font
The font of the title.
Declaration
public string Font { get; set; }
Property Value
System.String
|
Position
Specifies the title position.
Declaration
public Nullable<ChartTitlePosition> Position { get; set; }
Property Value
System.Nullable<ChartTitlePosition>
|
Text
The text of the chart title. You can also set the text directly for a title with default options.
Declaration
public string Text { get; set; }
Property Value
System.String
|
Visible
If set to true the chart will display the title. By default the title will be 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>
|