Class LinearGaugeAnnotation
Inheritance
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeAnnotation : EJTagHelper
Constructors
LinearGaugeAnnotation()
Declaration
public LinearGaugeAnnotation()
Properties
AxisIndex
Sets and gets the axis index which places the annotation in the specified axis in the linear gauge.
Declaration
public double AxisIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
AxisValue
Sets and gets the value of axis which places the annotation near the specified axis value.
Declaration
public double AxisValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Content
Sets and gets the content for the annotation.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Font
Sets and gets the options to customize the font of the annotation in linear gauge.
Declaration
public LinearGaugeFont Font { get; set; }
Property Value
Type | Description |
---|---|
LinearGaugeFont | The default value is null |
HorizontalAlignment
Sets and gets the horizontal alignment of annotation.
Declaration
public Placement HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Placement | The default value is Placement.None |
VerticalAlignment
Sets and gets the vertical alignment of annotation.
Declaration
public Placement VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Placement | The default value is Placement.None |
X
Sets and gets the x position for the annotation in linear gauge.
Declaration
public double X { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
Y
Sets and gets the y position for the annotation in linear gauge.
Declaration
public double Y { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
ZIndex
Sets and gets the z-index of the annotation.
Declaration
public string ZIndex { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "-1" |