ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugeLabel

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    LinearGaugeLabel
    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.LinearGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class LinearGaugeLabel : EJTagHelper

    Constructors

    LinearGaugeLabel()

    Declaration
    public LinearGaugeLabel()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Font

    Sets and gets the options for customizing the style of the text in axis labels.

    Declaration
    [HtmlAttributeName("font")]
    public LinearGaugeFont Font { get; set; }
    Property Value
    Type Description
    LinearGaugeFont

    The default value is null

    Format

    Sets and gets the format for the axis label. This property accepts any global format string like 'C', 'n1', 'P' etc. Also accepts placeholder like '{value}°C' in which value represent the axis label e.g. 20°C.

    Declaration
    [HtmlAttributeName("format")]
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Offset

    Sets and gets the offset value from where the labels must be placed from the axis in linear gauge.

    Declaration
    [HtmlAttributeName("offset")]
    public double Offset { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    Position

    Sets and gets the position of the axis label in linear gauge.

    Declaration
    [HtmlAttributeName("position")]
    public Position Position { get; set; }
    Property Value
    Type Description
    Position

    The default value is Syncfusion.EJ2.LinearGauge.Position.Auto

    UseRangeColor

    Enables or disables to use the color of the ranges in the labels of the linear gauge.

    Declaration
    [HtmlAttributeName("useRangeColor")]
    public bool UseRangeColor { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

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