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

Defines the fluent API for configuring the SankeyDataSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyDataSettingsBuilder

Inheritance: objectSankeyDataSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public SankeyDataSettingsBuilder(SankeyDataSettings settings)
Parameters:settingsSankeyDataSettings

The SankeyDataSettings

Methods

The links of the Sankey. The links are the connections between the nodes. Each link has a sourceId and targetId that correspond to the id of the source and target nodes, and a value that represents the value of the link.

C#
public SankeyDataSettingsBuilder Links(Action<SankeyDataSettingsLinkFactory> configurator)
Parameters:configuratorAction<SankeyDataSettingsLinkFactory>

The action that configures the links.

Returns:

SankeyDataSettingsBuilder

The nodes of the Sankey. The nodes are the elements that are connected by the links. Each node has an id that is used to connect the nodes with the links.

C#
public SankeyDataSettingsBuilder Nodes(Action<SankeyDataSettingsNodeFactory> configurator)
Parameters:configuratorAction<SankeyDataSettingsNodeFactory>

The action that configures the nodes.

Returns:

SankeyDataSettingsBuilder