menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TreeMapLegendSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    TreeMapLegendSettings
    Namespace: Syncfusion.EJ2.TreeMap
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeMapLegendSettings : EJTagHelper

    Constructors

    TreeMapLegendSettings()

    Declaration
    public TreeMapLegendSettings()

    Properties

    Alignment

    Sets and gets the alignment of legend in the treemap.

    Declaration
    public Alignment Alignment { get; set; }
    Property Value
    Type Description
    Alignment

    The default value is Syncfusion.EJ2.TreeMap.Alignment.Center

    Background

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

    Declaration
    public string Background { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "transparent"

    Border

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

    Declaration
    public TreeMapBorder Border { get; set; }
    Property Value
    Type Description
    TreeMapBorder

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Fill

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

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Height

    Sets and gets the height of legend in the treemap.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    ImageUrl

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

    Declaration
    public string ImageUrl { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    InvertedPointer

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

    Declaration
    public bool InvertedPointer { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    LabelDisplayMode

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

    Declaration
    public LabelIntersectAction LabelDisplayMode { get; set; }
    Property Value
    Type Description
    LabelIntersectAction

    The default value is LabelIntersectAction.None

    LabelPosition

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

    Declaration
    public LabelPlacement LabelPosition { get; set; }
    Property Value
    Type Description
    LabelPlacement

    The default value is LabelPlacement.After

    Location

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

    Declaration
    public object Location { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Mode

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

    Declaration
    public LegendMode Mode { get; set; }
    Property Value
    Type Description
    LegendMode

    The default value is LegendMode.Default

    Opacity

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

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Orientation

    Sets and gets the orientation of legend in the treemap.

    Declaration
    public LegendOrientation Orientation { get; set; }
    Property Value
    Type Description
    LegendOrientation

    The default value is LegendOrientation.None

    Position

    Sets and gets the position of legend in the treemap.

    Declaration
    public LegendPosition Position { get; set; }
    Property Value
    Type Description
    LegendPosition

    The default value is LegendPosition.Bottom

    RemoveDuplicateLegend

    Enables or disables to remove the duplicate legend item.

    Declaration
    public bool RemoveDuplicateLegend { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Shape

    Sets and gets the shape of legend in the treemap.

    Declaration
    public LegendShape Shape { get; set; }
    Property Value
    Type Description
    LegendShape

    The default value is LegendShape.Circle

    ShapeBorder

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

    Declaration
    public TreeMapBorder ShapeBorder { get; set; }
    Property Value
    Type Description
    TreeMapBorder

    The default value is null

    ShapeHeight

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

    Declaration
    public double ShapeHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 15

    ShapePadding

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

    Declaration
    public double ShapePadding { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 10

    ShapeWidth

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

    Declaration
    public double ShapeWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 15

    ShowLegendPath

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

    Declaration
    public string ShowLegendPath { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    TextStyle

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

    Declaration
    public TreeMapFont TextStyle { get; set; }
    Property Value
    Type Description
    TreeMapFont

    The default value is null

    Title

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

    Declaration
    public TreeMapCommonTitleSettings Title { get; set; }
    Property Value
    Type Description
    TreeMapCommonTitleSettings

    The default value is null

    TitleStyle

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

    Declaration
    public TreeMapFont TitleStyle { get; set; }
    Property Value
    Type Description
    TreeMapFont

    The default value is null

    ValuePath

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

    Declaration
    public string ValuePath { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Visible

    Enables or disables the visibility of legend in the treemap.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Width

    Sets and gets the width of legend in the treemap.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved