Class CircularGaugeLabelBuilder
Inheritance
System.Object
CircularGaugeLabelBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class CircularGaugeLabelBuilder : ControlBuilder
Constructors
CircularGaugeLabelBuilder()
Declaration
public CircularGaugeLabelBuilder()
CircularGaugeLabelBuilder(CircularGaugeLabel)
Declaration
public CircularGaugeLabelBuilder(CircularGaugeLabel model)
Parameters
Methods
AutoAngle(Boolean)
Enables and disables the labels get rotated along the axis in the circular gauge component.
Declaration
public CircularGaugeLabelBuilder AutoAngle(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Font(CircularGaugeFont)
Sets and gets the options to customize the style of the text in axis labels in circular gauge component.
Declaration
public CircularGaugeLabelBuilder Font(CircularGaugeFont value)
Parameters
Returns
Font(Action<CircularGaugeFontBuilder>)
Declaration
public CircularGaugeLabelBuilder Font(Action<CircularGaugeFontBuilder> font)
Parameters
Returns
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 CircularGaugeLabelBuilder Format(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
HiddenLabel(HiddenLabel)
Sets and gets the label of an axis, which gets hidden when an axis makes a complete circle.
Declaration
public CircularGaugeLabelBuilder HiddenLabel(HiddenLabel value)
Parameters
Returns
Offset(Double)
Sets and gets the value to place the labels from the axis in circular gauge.
Declaration
public CircularGaugeLabelBuilder Offset(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Position(Position)
Sets and gets the position type to place the labels in the axis in the circular gauge component.
Declaration
public CircularGaugeLabelBuilder Position(Position value)
Parameters
Returns
ShouldMaintainPadding(Boolean)
Enables and disables the default padding value of axis labels in circular gauge component.
Declaration
public CircularGaugeLabelBuilder ShouldMaintainPadding(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
UseRangeColor(Boolean)
Enables and disables the axis labels to use the range color of the axis.
Declaration
public CircularGaugeLabelBuilder UseRangeColor(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns