Class Indicator
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class Indicator : EJTagHelper
Constructors
Indicator()
Declaration
public Indicator()
Properties
Font
Gets or sets the Font of indicator
Declaration
[JsonProperty("font")]
public BulletFont Font { get; set; }
Property Value
Type | Description |
---|---|
BulletFont |
Remarks
Contains property to customize the font of indicator.
Location
Gets or sets the Location of indicator
Declaration
[JsonProperty("location")]
public BulletLocation Location { get; set; }
Property Value
Type | Description |
---|---|
BulletLocation |
Remarks
Contains property to customize the location of indicator.
Padding
Gets or sets the Padding in indicator
Declaration
[JsonProperty("padding")]
public int Padding { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Specifies the padding to be applied when text position is used.
Symbol
Gets or sets the Symbol of indicator
Declaration
[JsonProperty("symbol")]
public BulletSymbol Symbol { get; set; }
Property Value
Type | Description |
---|---|
BulletSymbol |
Remarks
Contains property to customize the symbol of indicator.
Text
Gets or sets the Text of indicator
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Specifies the text to be displayed as indicator text. By default difference between current value and target will be displayed
TextAlignment
Gets or sets the TextAlignment of indicator
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("textAlignment")]
public BulletTextAlignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
BulletTextAlignment |
Remarks
Specifies the alignment of indicator with respect to scale based on text position. Alignment will not be applied for float position.
TextAnchor
Gets or sets the TextAnchor of indicator
Declaration
[JsonProperty("textAnchor")]
[JsonConverter(typeof(StringEnumConverter))]
public BulletTextAnchor TextAnchor { get; set; }
Property Value
Type | Description |
---|---|
BulletTextAnchor |
Remarks
Specifies where indicator text should be anchored when indicator overlaps with other caption group text. Text will be anchored when overlapping caption group text are at same position. Anchoring is not applicable for float position.
TextAngle
Gets or sets the TextAngle in indicator
Declaration
[JsonProperty("textAngle")]
public int TextAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indicator text render in the specified angle.
TextPosition
Gets or sets the TextPosition of indicator
Declaration
[JsonProperty("textPosition")]
[JsonConverter(typeof(StringEnumConverter))]
public BulletTextPosition TextPosition { get; set; }
Property Value
Type | Description |
---|---|
BulletTextPosition |
Remarks
Specifies where indicator should be placed.
TextSpacing
Gets or sets the TextSpacing in indicator
Declaration
[JsonProperty("textSpacing")]
public int TextSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Specifies the space between indicator symbol and text.
Visible
Gets or sets the value of Visible property in indicator
Declaration
[JsonProperty("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Specifies whether indicator will be visible or not.
Methods
ShouldSerializeFont()
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeLocation()
Declaration
public bool ShouldSerializeLocation()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeSymbol()
Declaration
public bool ShouldSerializeSymbol()
Returns
Type | Description |
---|---|
System.Boolean |