alexa
menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class SankeyChartLegendSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    SankeyChartLegendSettingsBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class SankeyChartLegendSettingsBuilder : ControlBuilder

    Constructors

    SankeyChartLegendSettingsBuilder()

    Declaration
    public SankeyChartLegendSettingsBuilder()

    SankeyChartLegendSettingsBuilder(SankeyChartLegendSettings)

    Declaration
    public SankeyChartLegendSettingsBuilder(SankeyChartLegendSettings model)
    Parameters
    Type Name Description
    SankeyChartLegendSettings model

    Methods

    Background(String)

    Background color of the legend.

    Declaration
    public SankeyChartLegendSettingsBuilder Background(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Border(SankeyLegendBorder)

    Options for customizing the border of the legend.

    Declaration
    public SankeyChartLegendSettingsBuilder Border(SankeyLegendBorder value)
    Parameters
    Type Name Description
    SankeyLegendBorder value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Border(Action<SankeyBorderBuilder>)

    Declaration
    public SankeyChartLegendSettingsBuilder Border(Action<SankeyBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<SankeyBorderBuilder> border
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    EnableHighlight(Boolean)

    Enables or disables highlighting of legend items on interaction.

    Declaration
    public SankeyChartLegendSettingsBuilder EnableHighlight(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Height(String)

    Specifies the height of the legend.

    Declaration
    public SankeyChartLegendSettingsBuilder Height(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    IsInversed(Boolean)

    Specifies whether the legend layout should be inverted.

    Declaration
    public SankeyChartLegendSettingsBuilder IsInversed(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    ItemPadding(Double)

    Padding between legend items.

    Declaration
    public SankeyChartLegendSettingsBuilder ItemPadding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Location(SankeyLocation)

    Specifies the location of the legend relative to the Sankey chart. If x is 20, the legend moves 20 pixels to the right of the Sankey chart.

    Note that the position must be set to Custom for this feature to work.

    Declaration
    public SankeyChartLegendSettingsBuilder Location(SankeyLocation value)
    Parameters
    Type Name Description
    SankeyLocation value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Location(Action<SankeyLocationBuilder>)

    Declaration
    public SankeyChartLegendSettingsBuilder Location(Action<SankeyLocationBuilder> location)
    Parameters
    Type Name Description
    System.Action<SankeyLocationBuilder> location
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Margin(SankeyLegendMargin)

    Options to configure the margins around the component.

    Declaration
    public SankeyChartLegendSettingsBuilder Margin(SankeyLegendMargin value)
    Parameters
    Type Name Description
    SankeyLegendMargin value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Margin(Action<SankeyMarginBuilder>)

    Declaration
    public SankeyChartLegendSettingsBuilder Margin(Action<SankeyMarginBuilder> margin)
    Parameters
    Type Name Description
    System.Action<SankeyMarginBuilder> margin
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Opacity(Double)

    Opacity of the legend container.

    Declaration
    public SankeyChartLegendSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Padding(Double)

    Padding around the legend container.

    Declaration
    public SankeyChartLegendSettingsBuilder Padding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Position(LegendPosition)

    Specifies the position of the legend in the chart.

    Declaration
    public SankeyChartLegendSettingsBuilder Position(LegendPosition value)
    Parameters
    Type Name Description
    LegendPosition value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Reverse(Boolean)

    Specifies whether the legend items should be displayed in reverse order.

    Declaration
    public SankeyChartLegendSettingsBuilder Reverse(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    ShapeHeight(Double)

    Size of the legend shape (icon).

    Declaration
    public SankeyChartLegendSettingsBuilder ShapeHeight(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    ShapePadding(Double)

    Padding between the legend shape and its text.

    Declaration
    public SankeyChartLegendSettingsBuilder ShapePadding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    ShapeWidth(Double)

    Size of the legend shape (icon).

    Declaration
    public SankeyChartLegendSettingsBuilder ShapeWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    TextStyle(SankeyFont)

    Defines the text styling options applied to legend labels in the Sankey diagram.

    Declaration
    public SankeyChartLegendSettingsBuilder TextStyle(SankeyFont value)
    Parameters
    Type Name Description
    SankeyFont value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    TextStyle(Action<SankeyFontBuilder>)

    Declaration
    public SankeyChartLegendSettingsBuilder TextStyle(Action<SankeyFontBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<SankeyFontBuilder> textStyle
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Title(String)

    Title text for the legend.

    Declaration
    public SankeyChartLegendSettingsBuilder Title(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    TitleStyle(SankeyLegendTitleStyle)

    Defines the font styling used for rendering the legend title in the Sankey diagram.

    Declaration
    public SankeyChartLegendSettingsBuilder TitleStyle(SankeyLegendTitleStyle value)
    Parameters
    Type Name Description
    SankeyLegendTitleStyle value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    TitleStyle(Action<SankeyFontBuilder>)

    Declaration
    public SankeyChartLegendSettingsBuilder TitleStyle(Action<SankeyFontBuilder> titleStyle)
    Parameters
    Type Name Description
    System.Action<SankeyFontBuilder> titleStyle
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Visible(Boolean)

    Enables or disables the legend display.

    Declaration
    public SankeyChartLegendSettingsBuilder Visible(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    SankeyChartLegendSettingsBuilder

    Width(String)

    Specifies the width of the legend.

    Declaration
    public SankeyChartLegendSettingsBuilder Width(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SankeyChartLegendSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved