Class LinearGaugeAnnotationBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeAnnotationBuilder
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeAnnotationBuilder : ControlBuilder
Constructors
LinearGaugeAnnotationBuilder()
Declaration
public LinearGaugeAnnotationBuilder()
LinearGaugeAnnotationBuilder(List<LinearGaugeAnnotation>)
Declaration
public LinearGaugeAnnotationBuilder(List<LinearGaugeAnnotation> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<LinearGaugeAnnotation> | collection |
Methods
Add()
Declaration
public void Add()
AxisIndex(Double)
Sets and gets the axis index which places the annotation in the specified axis in the linear gauge.
Declaration
public LinearGaugeAnnotationBuilder AxisIndex(double axisIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Double | axisIndex |
Returns
AxisValue(Double)
Sets and gets the value of axis which places the annotation near the specified axis value.
Declaration
public LinearGaugeAnnotationBuilder AxisValue(double axisValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | axisValue |
Returns
Content(String)
Sets and gets the content for the annotation.
Declaration
public LinearGaugeAnnotationBuilder Content(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content |
Returns
Font(LinearGaugeFont)
Sets and gets the options to customize the font of the annotation in linear gauge.
Declaration
public LinearGaugeAnnotationBuilder Font(LinearGaugeFont font)
Parameters
Type | Name | Description |
---|---|---|
LinearGaugeFont | font |
Returns
Font(Action<LinearGaugeFontBuilder>)
Declaration
public LinearGaugeAnnotationBuilder Font(Action<LinearGaugeFontBuilder> font)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearGaugeFontBuilder> | font |
Returns
HorizontalAlignment(Placement)
Sets and gets the horizontal alignment of annotation.
Declaration
public LinearGaugeAnnotationBuilder HorizontalAlignment(Placement horizontalAlignment)
Parameters
Type | Name | Description |
---|---|---|
Placement | horizontalAlignment |
Returns
VerticalAlignment(Placement)
Sets and gets the vertical alignment of annotation.
Declaration
public LinearGaugeAnnotationBuilder VerticalAlignment(Placement verticalAlignment)
Parameters
Type | Name | Description |
---|---|---|
Placement | verticalAlignment |
Returns
X(Double)
Sets and gets the x position for the annotation in linear gauge.
Declaration
public LinearGaugeAnnotationBuilder X(double x)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x |
Returns
Y(Double)
Sets and gets the y position for the annotation in linear gauge.
Declaration
public LinearGaugeAnnotationBuilder Y(double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | y |
Returns
ZIndex(String)
Sets and gets the z-index of the annotation.
Declaration
public LinearGaugeAnnotationBuilder ZIndex(string zIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | zIndex |