alexa
menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SankeyNodeBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    SankeyNodeBuilder
    Namespace: Syncfusion.EJ2.Charts
    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
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved