menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class CircularGaugeLegendSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    CircularGaugeLegendSettings
    Namespace: Syncfusion.EJ2.CircularGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class CircularGaugeLegendSettings : EJTagHelper

    Constructors

    CircularGaugeLegendSettings()

    Declaration
    public CircularGaugeLegendSettings()

    Properties

    Alignment

    Sets and gets the alignment of the legend in the circular gauge.

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

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

    Background

    Sets and gets the background color of the legend in circular gauge.

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

    The default value is "transparent"

    Border

    Sets and gets the options to customize the style properties of the border of the legend.

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

    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>

    Height

    Sets and gets the height of the legend in the circular gauge.

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

    The default value is null

    Location

    Sets and gets the location of the legend, relative to the circular gauge. If x is 20, legend moves by 20 pixels to the right of the gauge. It requires the position to be Custom.

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

    The default value is null

    Margin

    Sets and gets the options to customize the legend margin.

    Declaration
    public CircularGaugeMargin Margin { get; set; }
    Property Value
    Type Description
    CircularGaugeMargin

    The default value is null

    Opacity

    Sets and gets the opacity of the legend.

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

    The default value is 1

    Padding

    Sets and gets the options to customize the padding between legend items.

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

    The default value is 8

    Position

    Sets and gets the position of the legend in the circular gauge.

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

    The default value is LegendPosition.Auto

    Shape

    Sets and gets the shape of the legend in circular gauge.

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

    The default value is GaugeShape.Circle

    ShapeBorder

    Sets and gets the options to customize the style properties of the border for the shape of the legend in the circular gauge.

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

    The default value is null

    ShapeHeight

    Sets and gets the height of the legend shape in circular gauge.

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

    The default value is 10

    ShapePadding

    Sets and gets the padding for the legend shape in circular gauge.

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

    The default value is 5

    ShapeWidth

    Sets and gets the width of the legend shape in circular gauge.

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

    The default value is 10

    TextStyle

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

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

    The default value is null

    ToggleVisibility

    Enables and disables the visibility of the ranges. When the legend is clicked, the visibility of the legend will be toggled.

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

    The default value is true

    Visible

    Enable and disables the visibility of the legend in circular gauge.

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

    The default value is false

    Width

    Sets and gets the width of the legend in the circular gauge.

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

    The default value is null

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