menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class SmithchartSmithchartLegendSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    SmithchartSmithchartLegendSettings
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class SmithchartSmithchartLegendSettings : EJTagHelper

    Constructors

    SmithchartSmithchartLegendSettings()

    Declaration
    public SmithchartSmithchartLegendSettings()

    Properties

    Alignment

    alignment for legend.

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

    The default value is SmithchartAlignment.Center

    Border

    options for customizing legend border.

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

    The default value is null

    ColumnCount

    columnCount for legend.

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

    The default value is Double.NaN

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Description

    description for legend

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

    The default value is ""

    Height

    height for legend.

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

    The default value is Double.NaN

    ItemPadding

    spacing between legend item.

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

    The default value is 8

    ItemStyle

    options for customizing legend item style.

    Declaration
    public SmithchartLegendItemStyle ItemStyle { get; set; }
    Property Value
    Type Description
    SmithchartLegendItemStyle

    The default value is null

    Location

    options for customizing legend location.

    Declaration
    public SmithchartLegendLocation Location { get; set; }
    Property Value
    Type Description
    SmithchartLegendLocation

    The default value is null

    Position

    position for legend.

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

    The default value is "bottom"

    RowCount

    rowCount for legend.

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

    The default value is Double.NaN

    Shape

    shape for legend.

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

    The default value is "circle"

    ShapePadding

    Padding between the legend shape and text.

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

    The default value is 5

    TextStyle

    options for customizing font.

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

    The default value is null

    Title

    options for customizing legend title.

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

    The default value is null

    ToggleVisibility

    If set to true, series' visibility collapses based on the legend visibility.

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

    The default value is true

    Visible

    visibility for legend.

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

    The default value is false

    Width

    width for legend.

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

    The default value is Double.NaN

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