Class
TelerikSankey

A data visualization component that presents flows between nodes using weighted links. Provide data via SankeyData and configure visuals with SankeyTitle, SankeyTooltip, SankeyLabels, SankeyLegend, SankeyLinks, and SankeyNodes. Handle interactions through OnNodeClick, OnNodeEnter, OnNodeLeave and OnLinkClick, OnLinkEnter, OnLinkLeave. Children: SankeyData, SankeyTitle, SankeyTooltip, SankeyLabels, SankeyLegend, SankeyLinks, SankeyNodes.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TelerikSankey : DataVizComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentDataVizComponentTelerikSankey

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnParametersSetAsync()ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikSankey()

Declaration

cs-api-definition
public TelerikSankey()

Properties

Data

Specifies the data of the component.

Declaration

cs-api-definition
[Parameter]
public SankeyData Data { get; set; }

Property Value

SankeyData

DisableAutoLayout

If set to true, the Sankey will not automatically reorder the nodes to reduce the number of links that cross over each other.

Declaration

cs-api-definition
[Parameter]
public bool? DisableAutoLayout { get; set; }

Property Value

bool?

OnLinkClick

Specifies the link click event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SankeyLinkClickEventArgs> OnLinkClick { get; set; }

Property Value

EventCallback<SankeyLinkClickEventArgs>

OnLinkEnter

Specifies the link enter event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SankeyLinkEnterEventArgs> OnLinkEnter { get; set; }

Property Value

EventCallback<SankeyLinkEnterEventArgs>

OnLinkLeave

Specifies the link leave event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SankeyLinkLeaveEventArgs> OnLinkLeave { get; set; }

Property Value

EventCallback<SankeyLinkLeaveEventArgs>

OnNodeClick

Specifies the node click event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SankeyNodeClickEventArgs> OnNodeClick { get; set; }

Property Value

EventCallback<SankeyNodeClickEventArgs>

OnNodeEnter

Specifies the node enter event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SankeyNodeEnterEventArgs> OnNodeEnter { get; set; }

Property Value

EventCallback<SankeyNodeEnterEventArgs>

OnNodeLeave

Specifies the node leave event.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SankeyNodeLeaveEventArgs> OnNodeLeave { get; set; }

Property Value

EventCallback<SankeyNodeLeaveEventArgs>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides DataVizComponent.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides DataVizComponent.OnParametersSet()