Class
ChartLegendTitle

Definition

Constructors

ChartLegendTitle()

Declaration

public ChartLegendTitle()

Properties

Align

Specifies the legend title align.

Declaration

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

Property Value

ChartLegendTitleAlign?

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

string

ChildContent

Declaration

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Color

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

Declaration

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

Property Value

string

Font

The font of the title.

Declaration

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

Property Value

string

Position

Specifies the legend title position.

Declaration

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

Property Value

ChartLegendTitlePosition?

Text

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

Declaration

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

Property Value

string

Visible

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

Declaration

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

Property Value

bool?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>