Class LinearGaugeLabelBuilder
Inheritance
System.Object
LinearGaugeLabelBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeLabelBuilder : ControlBuilder
Constructors
LinearGaugeLabelBuilder()
Declaration
public LinearGaugeLabelBuilder()
LinearGaugeLabelBuilder(LinearGaugeLabel)
Declaration
public LinearGaugeLabelBuilder(LinearGaugeLabel model)
Parameters
Methods
Font(LinearGaugeFont)
Sets and gets the options for customizing the style of the text in axis labels.
Declaration
public LinearGaugeLabelBuilder Font(LinearGaugeFont value)
Parameters
Returns
Font(Action<LinearGaugeFontBuilder>)
Declaration
public LinearGaugeLabelBuilder Font(Action<LinearGaugeFontBuilder> font)
Parameters
Returns
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 LinearGaugeLabelBuilder Format(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Offset(Double)
Sets and gets the value to position the axis labels in linear gauge.
Declaration
public LinearGaugeLabelBuilder Offset(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Position(Position)
Sets and gets the position of the axis label in linear gauge.
Declaration
public LinearGaugeLabelBuilder Position(Position value)
Parameters
Returns
UseRangeColor(Boolean)
Enables or disables the color of the label to use the color of the ranges in linear gauge.
Declaration
public LinearGaugeLabelBuilder UseRangeColor(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns