Class SankeyNodeBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SankeyNodeBuilder
Assembly: Syncfusion.EJ2.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
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
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
Label(SankeyChartDataLabel)
Options for customizing the data label of the Sankey node.
Declaration
public SankeyNodeBuilder Label(SankeyChartDataLabel label)
Parameters
Returns
Label(Action<SankeyChartDataLabelBuilder>)
Declaration
public SankeyNodeBuilder Label(Action<SankeyChartDataLabelBuilder> label)
Parameters
Returns
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