New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Sankey

Class

Kendo UI Sankey component

Definition

Constructors

Initializes a new instance of the Sankey class.

C#
public Sankey(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The URL generator.

Properties

The data of the Sankey. The data object contains the Sankey nodes and links configuration.

C#
public SankeyDataSettings 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#
public bool? DisableAutoLayout { get; set; }

If set to true, the Sankey keyboard navigation will be disabled.

C#
public bool? DisableKeyboardNavigation { get; set; }

The default labels configuration of the Sankey. The labels configuration options will be overridden by the data.nodes.label configuration.

C#
public SankeyLabelsSettings Labels { get; set; }

The legend configuration options of the Sankey.

C#
public SankeyLegendSettings Legend { get; set; }

The default links configuration of the Sankey. The links configuration options will be overridden by the data.links configuration.

C#
public SankeyLinksSettings Links { get; set; }

The configuration of the messages displayed in the Sankey.

C#
public SankeyMessagesSettings Messages { get; set; }

The default nodes configuration of the Sankey. The nodes configuration options will be overridden by the data.nodes configuration.

C#
public SankeyNodesSettings Nodes { get; set; }

The theme configuration options.

C#
public string Theme { get; set; }

The Sankey title configuration options.

C#
public SankeyTitleSettings Title { get; set; }

The tooltip configuration options.

C#
public SankeyTooltipSettings Tooltip { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)