ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class CircularGaugeLegendSettings

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    CircularGaugeLegendSettings
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    [HtmlAttributeName("alignment")]
    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
    [HtmlAttributeName("background")]
    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
    [HtmlAttributeName("border")]
    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 Description
    MvcTemplate<System.Object>

    Height

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

    Declaration
    [HtmlAttributeName("height")]
    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
    [HtmlAttributeName("location")]
    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
    [HtmlAttributeName("margin")]
    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
    [HtmlAttributeName("opacity")]
    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
    [HtmlAttributeName("padding")]
    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
    [HtmlAttributeName("position")]
    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
    [HtmlAttributeName("shape")]
    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
    [HtmlAttributeName("shapeBorder")]
    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
    [HtmlAttributeName("shapeHeight")]
    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
    [HtmlAttributeName("shapePadding")]
    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
    [HtmlAttributeName("shapeWidth")]
    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
    [HtmlAttributeName("textStyle")]
    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
    [HtmlAttributeName("toggleVisibility")]
    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
    [HtmlAttributeName("visible")]
    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
    [HtmlAttributeName("width")]
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

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