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

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:

C#
public class TelerikSankey : DataVizComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentDataVizComponentTelerikSankey

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members DataVizComponent.Dispose()DataVizComponent.Refresh()DataVizComponent.ChildContentDataVizComponent.WidthDataVizComponent.HeightBaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)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.InvokeVoidAsyncWithoutAwait(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

C#
public TelerikSankey()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: DataVizComponent.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: DataVizComponent.OnParametersSet()

Properties

Specifies the data of the component.

C#
[Parameter]
public SankeyData Data { get; set; }

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

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

Specifies the link click event.

C#
[Parameter]
public EventCallback<SankeyLinkClickEventArgs> OnLinkClick { get; set; }

Specifies the link enter event.

C#
[Parameter]
public EventCallback<SankeyLinkEnterEventArgs> OnLinkEnter { get; set; }

Specifies the link leave event.

C#
[Parameter]
public EventCallback<SankeyLinkLeaveEventArgs> OnLinkLeave { get; set; }

Specifies the node click event.

C#
[Parameter]
public EventCallback<SankeyNodeClickEventArgs> OnNodeClick { get; set; }

Specifies the node enter event.

C#
[Parameter]
public EventCallback<SankeyNodeEnterEventArgs> OnNodeEnter { get; set; }

Specifies the node leave event.

C#
[Parameter]
public EventCallback<SankeyNodeLeaveEventArgs> OnNodeLeave { get; set; }