New to Telerik UI for BlazorStart a free 30-day trial

Definition

Constructors

C#
public StockChartSubtitle()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

Specifies the text alignment.

C#
[Parameter]
public ChartSubtitleAlign? Align { get; set; }

The background color of the subtitle. Accepts a valid CSS color string, including hex and rgb.

C#
[Parameter]
public string Background { get; set; }
C#
[Parameter]
public RenderFragment ChildContent { get; set; }

The text color of the subtitle. Accepts a valid CSS color string, including hex and rgb.

C#
[Parameter]
public string Color { get; set; }

The font of the title.

C#
[Parameter]
public string Font { get; set; }

Specifies the subtitle position.

C#
[Parameter]
public ChartSubtitlePosition? Position { get; set; }

The text of the chart subtitle. You can also set the text directly for a title with default options.

C#
[Parameter]
public string Text { get; set; }

If set to true the chart will display the subtitle. By default the subtitle will be displayed.

C#
[Parameter]
public bool? Visible { get; set; }