Class SubTitle
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class SubTitle : EJTagHelper
Constructors
SubTitle()
Declaration
public SubTitle()
Properties
Font
Gets or sets the Font of SubTitle.
Declaration
[JsonProperty("font")]
public BulletFont Font { get; set; }
Property Value
Type | Description |
---|---|
BulletFont |
Remarks
Contains property to customize the font of subtitle.
Location
Gets or sets the Location of SubTitle.
Declaration
[JsonProperty("location")]
public BulletLocation Location { get; set; }
Property Value
Type | Description |
---|---|
BulletLocation |
Remarks
Contains property to customize the location of subtitle.
Padding
Gets or sets the Padding of SubTitle.
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.
Text
Gets or sets the Text of SubTitle.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Specifies the text to be displayed as subtitle.
TextAlignment
Gets or sets the TextAlignment of SubTitle.
Declaration
[JsonProperty("textAlignment")]
[JsonConverter(typeof(StringEnumConverter))]
public BulletTextAlignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
BulletTextAlignment |
Remarks
Specifies the alignment of sub title text with respect to scale. Alignment will not be applied in float position.
TextAnchor
Gets or sets the TextAnchor of SubTitle.
Declaration
[JsonProperty("textAnchor")]
[JsonConverter(typeof(StringEnumConverter))]
public BulletTextAnchor TextAnchor { get; set; }
Property Value
Type | Description |
---|---|
BulletTextAnchor |
Remarks
Specifies where subtitle text should be anchored when sub title text 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 of SubTitle.
Declaration
[JsonProperty("textAngle")]
public int TextAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Specifies the angel in which the sub title is rendered.
TextPosition
Gets or sets the TextPosition of SubTitle.
Declaration
[JsonProperty("textPosition")]
[JsonConverter(typeof(StringEnumConverter))]
public BulletTextPosition TextPosition { get; set; }
Property Value
Type | Description |
---|---|
BulletTextPosition |
Remarks
Specifies where sub title text should be placed.
Methods
ShouldSerializeFont()
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeLocation()
Declaration
public bool ShouldSerializeLocation()
Returns
Type | Description |
---|---|
System.Boolean |