menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeMapLegendSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeMapLegendSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    TreeMapLegendSettingsBuilder
    Namespace: Syncfusion.EJ2.TreeMap
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeMapLegendSettingsBuilder : ControlBuilder

    Constructors

    TreeMapLegendSettingsBuilder()

    Declaration
    public TreeMapLegendSettingsBuilder()

    TreeMapLegendSettingsBuilder(TreeMapLegendSettings)

    Declaration
    public TreeMapLegendSettingsBuilder(TreeMapLegendSettings model)
    Parameters
    Type Name Description
    TreeMapLegendSettings model

    Methods

    Alignment(Alignment)

    Sets and gets the alignment of legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder Alignment(Alignment value)
    Parameters
    Type Name Description
    Alignment value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Background(String)

    Sets and gets the background color of legend in the treemap.

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

    Border(TreeMapBorder)

    Sets and gets the options for customizing the color and width of the border of the legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder Border(TreeMapBorder value)
    Parameters
    Type Name Description
    TreeMapBorder value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Border(Action<TreeMapBorderBuilder>)

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

    Fill(String)

    Sets and gets the shape color of legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder Fill(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Height(String)

    Sets and gets the height of legend in the treemap.

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

    ImageUrl(String)

    Sets and gets the URL path of the legend shapes that is set as image.

    Declaration
    public TreeMapLegendSettingsBuilder ImageUrl(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    InvertedPointer(Boolean)

    Enables or disables the pointer for interactive legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder InvertedPointer(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    LabelDisplayMode(LabelIntersectAction)

    Sets and gets the action of legend item text when they intersect with each other.

    Declaration
    public TreeMapLegendSettingsBuilder LabelDisplayMode(LabelIntersectAction value)
    Parameters
    Type Name Description
    LabelIntersectAction value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    LabelPosition(LabelPlacement)

    Sets and gets the label position for interactive legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder LabelPosition(LabelPlacement value)
    Parameters
    Type Name Description
    LabelPlacement value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Location(Object)

    Sets and gets the location to place the legend in a custom location in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder Location(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Mode(LegendMode)

    Sets and gets the mode of legend in the treemap. The modes available are default and interactive modes.

    Declaration
    public TreeMapLegendSettingsBuilder Mode(LegendMode value)
    Parameters
    Type Name Description
    LegendMode value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Opacity(Double)

    Sets and gets the opacity of the legend in the treemap.

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

    Orientation(LegendOrientation)

    Sets and gets the orientation of legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder Orientation(LegendOrientation value)
    Parameters
    Type Name Description
    LegendOrientation value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Position(LegendPosition)

    Sets and gets the position of legend in the treemap.

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

    RemoveDuplicateLegend(Boolean)

    Enables or disables to remove the duplicate legend item.

    Declaration
    public TreeMapLegendSettingsBuilder RemoveDuplicateLegend(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Shape(LegendShape)

    Sets and gets the shape of legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder Shape(LegendShape value)
    Parameters
    Type Name Description
    LegendShape value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    ShapeBorder(TreeMapBorder)

    Sets and gets the options for customizing the color and width of the border of the legend shape in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder ShapeBorder(TreeMapBorder value)
    Parameters
    Type Name Description
    TreeMapBorder value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    ShapeBorder(Action<TreeMapBorderBuilder>)

    Declaration
    public TreeMapLegendSettingsBuilder ShapeBorder(Action<TreeMapBorderBuilder> shapeBorder)
    Parameters
    Type Name Description
    System.Action<TreeMapBorderBuilder> shapeBorder
    Returns
    Type
    TreeMapLegendSettingsBuilder

    ShapeHeight(Double)

    Sets and gets the height of the shapes of legend in the treemap.

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

    ShapePadding(Double)

    Sets and gets the shape padding of legend in the treemap.

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

    ShapeWidth(Double)

    Sets and gets the width of the shapes in legend in the treemap.

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

    ShowLegendPath(String)

    Sets and gets the value path from the data source for the visibility state of the legend item in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder ShowLegendPath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    TextStyle(TreeMapFont)

    Sets and gets the options to customize the text style of legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder TextStyle(TreeMapFont value)
    Parameters
    Type Name Description
    TreeMapFont value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    TextStyle(Action<TreeMapFontBuilder>)

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

    Title(TreeMapCommonTitleSettings)

    Sets and gets the options to customize the title of the legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder Title(TreeMapCommonTitleSettings value)
    Parameters
    Type Name Description
    TreeMapCommonTitleSettings value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Title(Action<TreeMapCommonTitleSettingsBuilder>)

    Declaration
    public TreeMapLegendSettingsBuilder Title(Action<TreeMapCommonTitleSettingsBuilder> title)
    Parameters
    Type Name Description
    System.Action<TreeMapCommonTitleSettingsBuilder> title
    Returns
    Type
    TreeMapLegendSettingsBuilder

    TitleStyle(TreeMapFont)

    Sets and gets the options to customize the text style of the legend item text in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder TitleStyle(TreeMapFont value)
    Parameters
    Type Name Description
    TreeMapFont value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    TitleStyle(Action<TreeMapFontBuilder>)

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

    ValuePath(String)

    Sets and gets the value path from the data source to render legend in the treemap.

    Declaration
    public TreeMapLegendSettingsBuilder ValuePath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    TreeMapLegendSettingsBuilder

    Visible(Boolean)

    Enables or disables the visibility of legend in the treemap.

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

    Width(String)

    Sets and gets the width of legend in the treemap.

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