Class LinearGaugeLabel
Inherited Members
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 |
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 |
IsComplex
Declaration
protected override bool IsComplex { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Offset
Sets and gets the value to position the axis labels in linear gauge.
Declaration
[HtmlAttributeName("offset")]
public double Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ParentPropertyName
Declaration
protected override string ParentPropertyName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
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 |
UseRangeColor
Enables or disables the color of the label to use the color of the ranges in linear gauge.
Declaration
[HtmlAttributeName("useRangeColor")]
public bool UseRangeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |