ClassSankeyLegend
Telerik UI SankeyLegend.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class SankeyLegend : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentSankeyLegend
Implements:
Inherited Members
Constructors
SankeyLegend()
Declaration
public SankeyLegend()
Properties
Align
Specifies the legend align.
Declaration
[Parameter]
public SankeyLegendAlign? Align { get; set; }
Property Value
Background
The background color of the legend.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Height
The height of the legend.
Declaration
[Parameter]
public double? Height { get; set; }
Property Value
OffsetX
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.
Declaration
[Parameter]
public double? OffsetX { get; set; }
Property Value
OffsetY
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.
Declaration
[Parameter]
public double? OffsetY { get; set; }
Property Value
Orientation
Specifies the legend orientation.
Declaration
[Parameter]
public SankeyLegendOrientation? Orientation { get; set; }
Property Value
Position
Specifies the legend position.
Declaration
[Parameter]
public SankeyLegendPosition? Position { get; set; }
Property Value
Reverse
If set to true the legend items will be reversed.
Spacing
The spacing between the labels in pixels when the legend.orientation is "horizontal".
Declaration
[Parameter]
public double? Spacing { get; set; }
Property Value
Visible
If set to false the Sankey will not display the legend.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns