ClassChartTitle
Telerik UI ChartTitle.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartTitle : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartTitle
Implements:
Inherited Members
Constructors
ChartTitle()
Declaration
public ChartTitle()
Properties
Align
Specifies the text alignment.
Declaration
[Parameter]
public ChartTitleAlign? Align { get; set; }
Property Value
Background
The background color of the title. 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 title. Accepts a valid CSS color string, including hex and rgb.
Description
The accessible description of the chart. Announced by screen readers when the char is focused.
Declaration
[Parameter]
public string Description { get; set; }
Property Value
Font
The font of the title.
Position
Specifies the title position.
Declaration
[Parameter]
public ChartTitlePosition? Position { get; set; }
Property Value
Text
The text of the chart title. You can also set the text directly for a title with default options.
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