Class
ChartLegendItemLine

Telerik UI ChartLegendItemLine.

Definition

Constructors

ChartLegendItemLine()

Declaration

public ChartLegendItemLine()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Color

The color of the legend item of type line. Accepts a valid CSS color string, including HEX and RGB. Defaults to the series color.

Declaration

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

Property Value

string

DashType

The dash type of the legend item of type line.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

Declaration

[Parameter]
public DashType? DashType { get; set; }

Property Value

DashType?

Opacity

The opacity of the legend item of type line. Defaults to the series opacity.

Declaration

[Parameter]
public double? Opacity { get; set; }

Property Value

double?

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>