Class SankeyNodeBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SankeyNodeBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.AspNetMvc.Sankey.dll
Syntax
public class SankeyNodeBuilder : ControlBuilder
Constructors
SankeyNodeBuilder()
Declaration
public SankeyNodeBuilder()
SankeyNodeBuilder(List<SankeyNode>)
Declaration
public SankeyNodeBuilder(List<SankeyNode> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<SankeyNode> | collection |
Methods
Add()
Declaration
public void Add()
Color(String)
Specifies the color applied to the node. The node color is applied based on the current theme if this property is not specified.
Declaration
public SankeyNodeBuilder Color(string color)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | color |
Returns
| Type |
|---|
| SankeyNodeBuilder |
Id(String)
A unique string identifier for the node.
Ensure the id is unique across all nodes in the Sankey chart.
Declaration
public SankeyNodeBuilder Id(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id |
Returns
| Type |
|---|
| SankeyNodeBuilder |
Label(SankeyChartDataLabel)
Options for customizing the data label of the Sankey node.
Declaration
public SankeyNodeBuilder Label(SankeyChartDataLabel label)
Parameters
| Type | Name | Description |
|---|---|---|
| SankeyChartDataLabel | label |
Returns
| Type |
|---|
| SankeyNodeBuilder |
Label(Action<SankeyChartDataLabelBuilder>)
Declaration
public SankeyNodeBuilder Label(Action<SankeyChartDataLabelBuilder> label)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<SankeyChartDataLabelBuilder> | label |
Returns
| Type |
|---|
| SankeyNodeBuilder |
Offset(Double)
Specifies a custom offset position for the node. This allows shifting the node horizontally (in Horizontal orientation) or vertically (in Vertical orientation), relative to its computed layout position.
Declaration
public SankeyNodeBuilder Offset(double offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | offset |
Returns
| Type |
|---|
| SankeyNodeBuilder |