Class CircularGaugeLabel
Inheritance
Namespace: Syncfusion.EJ2.CircularGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class CircularGaugeLabel : EJTagHelper
Constructors
CircularGaugeLabel()
Declaration
public CircularGaugeLabel()
Properties
AutoAngle
Enables and disables the rotation of the labels along the axis in the circular gauge.
Declaration
public bool AutoAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Font
Sets and gets the options to customize the style of the text in axis labels in circular gauge.
Declaration
public CircularGaugeFont Font { get; set; }
Property Value
Type | Description |
---|---|
CircularGaugeFont | The default value is null |
Format
Sets and gets the format for the axis label. This property accepts any global string format 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 | The default value is "" |
HiddenLabel
Sets and gets the label of an axis, which gets hidden when an axis makes a complete circle.
Declaration
public HiddenLabel HiddenLabel { get; set; }
Property Value
Type | Description |
---|---|
HiddenLabel | The default value is HiddenLabel.None |
Offset
Sets and gets the offset value from where the labels must be placed from the axis in circular gauge.
Declaration
public double Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
Position
Sets and gets the position type to place the labels in the axis in the circular gauge.
Declaration
public Position Position { get; set; }
Property Value
Type | Description |
---|---|
Position | The default value is Syncfusion.EJ2.CircularGauge.Position.Inside |
ShouldMaintainPadding
Enables and disables the default padding value of axis labels in circular gauge.
Declaration
public bool ShouldMaintainPadding { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
UseRangeColor
Enables and disables the applying of the range color to the labels in the axis.
Declaration
public bool UseRangeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |