Class LinearGaugeLabel
Inheritance
System.Object
LinearGaugeLabel
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
Font
Sets and gets the options for customizing the style of the text in axis labels.
Declaration
public LinearGaugeFont Font { get; set; }
Property Value
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
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
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
public Position Position { get; set; }
Property Value
UseRangeColor
Enables or disables the color of the label to use the color of the ranges in linear gauge.
Declaration
public bool UseRangeColor { get; set; }
Property Value
Type |
Description |
System.Boolean |
|