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

Definition

Constructors

C#
public StockChartLegendTitle()

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 legend title align.

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

The background color of the title. 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 title. Accepts a valid CSS color string, including hex and rgb.

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

Specifies the legend title position.

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

The text of the legend title. 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 title. By default the title will be displayed.

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