Class LinearGaugeLabelBuilder
Inheritance
System.Object
LinearGaugeLabelBuilder
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()
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 offset value from where the labels must be placed from the axis 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 to use the color of the ranges in the labels of the linear gauge.
Declaration
public LinearGaugeLabelBuilder UseRangeColor(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns