Class CircularLabelsBuilder
Class for circular gauge labels builder.
Inheritance
System.Object
CircularLabelsBuilder
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()
Namespace: Syncfusion.JavaScript.DataVisualization
Assembly: Syncfusion.EJ.dll
Syntax
public class CircularLabelsBuilder
Constructors
CircularLabelsBuilder(CircularScales)
Initializes a new instance of the CircularLabelsBuilder class to indicate the scale label.
Declaration
public CircularLabelsBuilder(CircularScales labels)
Parameters
Type | Name | Description |
---|---|---|
CircularScales | labels | The labels. |
Methods
Add()
Adds this instance.
Declaration
public void Add()
Angle(Int32)
Angles the specified angle.
Declaration
public CircularLabelsBuilder Angle(int angle)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | angle | The angle. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
AutoAngle()
Automatics the angle.
Declaration
public CircularLabelsBuilder AutoAngle()
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
AutoAngle(Boolean)
Automatics the angle.
Declaration
public CircularLabelsBuilder AutoAngle(bool autoAngle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | autoAngle | if set to |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
Color(String)
Colors the specified color.
Declaration
public CircularLabelsBuilder Color(string color)
Parameters
Type | Name | Description |
---|---|---|
System.String | color | The color. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
DistanceFromScale(Double)
Distances from scale.
Declaration
public CircularLabelsBuilder DistanceFromScale(double distanceFromScale)
Parameters
Type | Name | Description |
---|---|---|
System.Double | distanceFromScale | The distance from scale. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
Font(Action<CircularFontBuilder>)
Fonts the specified font.
Declaration
public CircularLabelsBuilder Font(Action<CircularFontBuilder> font)
Parameters
Type | Name | Description |
---|---|---|
System.Action<CircularFontBuilder> | font | The font. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
IncludeFirstValue()
Includes the first value.
Declaration
public CircularLabelsBuilder IncludeFirstValue()
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
IncludeFirstValue(Boolean)
Includes the first value.
Declaration
public CircularLabelsBuilder IncludeFirstValue(bool includeFirstValue)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | includeFirstValue | if set to |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
Opacity(Double)
Opacities the specified opacity.
Declaration
public CircularLabelsBuilder Opacity(double opacity)
Parameters
Type | Name | Description |
---|---|---|
System.Double | opacity | The opacity. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
Placement(LabelPlacement)
Placements the specified placement.
Declaration
public CircularLabelsBuilder Placement(LabelPlacement placement)
Parameters
Type | Name | Description |
---|---|---|
LabelPlacement | placement | The placement. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
Type(GaugeTypes)
Types the specified type.
Declaration
public CircularLabelsBuilder Type(GaugeTypes type)
Parameters
Type | Name | Description |
---|---|---|
GaugeTypes | type | The type. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
UnitText(String)
Units the text.
Declaration
public CircularLabelsBuilder UnitText(string unitText)
Parameters
Type | Name | Description |
---|---|---|
System.String | unitText | The unit text. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |
UnitTextPosition(UnitTextPlacement)
Units the text position.
Declaration
public CircularLabelsBuilder UnitTextPosition(UnitTextPlacement unitTextPosition)
Parameters
Type | Name | Description |
---|---|---|
UnitTextPlacement | unitTextPosition | The unit text position. |
Returns
Type | Description |
---|---|
CircularLabelsBuilder |