Sankey
Kendo UI Sankey component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Sankey : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseSankey
Implements:
Inherited Members
Constructors
Initializes a new instance of the Sankey class.
public Sankey(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
The data of the Sankey. The data object contains the Sankey nodes and links configuration.
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.
public bool? DisableAutoLayout { get; set; }
If set to true, the Sankey keyboard navigation will be disabled.
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.
public SankeyLabelsSettings Labels { get; set; }
The legend configuration options of the Sankey.
public SankeyLegendSettings Legend { get; set; }
The default links configuration of the Sankey. The links configuration options will be overridden by the data.links configuration.
public SankeyLinksSettings Links { get; set; }
The configuration of the messages displayed in the Sankey.
public SankeyMessagesSettings Messages { get; set; }
The default nodes configuration of the Sankey. The nodes configuration options will be overridden by the data.nodes configuration.
public SankeyNodesSettings Nodes { get; set; }
The Sankey title configuration options.
public SankeyTitleSettings Title { get; set; }
The tooltip configuration options.
public SankeyTooltipSettings Tooltip { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: