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

Definition

Constructors

C#
public SankeyLegend()

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

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

The background color of the legend.

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

The height of the legend.

C#
[Parameter]
public double? Height { get; set; }

The X offset of the Sankey legend. The offset is relative to the default position of the legend. For instance, a value of 20 will move the legend 20 pixels to the right of its initial position. A negative value will move the legend to the left of its current position.

C#
[Parameter]
public double? OffsetX { get; set; }

The Y offset of the Sankey legend. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from its initial position. A negative value will move the legend upwards from its current position.

C#
[Parameter]
public double? OffsetY { get; set; }

Specifies the legend orientation.

C#
[Parameter]
public SankeyLegendOrientation? Orientation { get; set; }

Specifies the legend position.

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

If set to true the legend items will be reversed.

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

The spacing between the labels in pixels when the legend.orientation is "horizontal".

C#
[Parameter]
public double? Spacing { get; set; }

If set to false the Sankey will not display the legend.

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

The legend width when the legend.orientation is set to "horizontal".

C#
[Parameter]
public double? Width { get; set; }