Class LegendTitle
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.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class LegendTitle : EJTagHelper
Constructors
LegendTitle()
Declaration
public LegendTitle()
Properties
Font
Gets or sets the Font of legend title, which provides option to customize legend title text color, size, family, style and opacity.
Declaration
[JsonProperty("font")]
public ChartFont Font { get; set; }
Property Value
Type | Description |
---|---|
ChartFont |
Remarks
Options to customize the font used for legend title.
Text
Gets or sets the Text of legend title, which provides an option to customize the title text of the legend.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Text to be displayed in legend title.
TextAlignment
Gets or sets the TextAlignment of legend title, which aligns the title of legend in either center, near or far.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("textAlignment")]
public TextAlignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
TextAlignment |
Remarks
Alignment of the legend title.
Methods
ShouldSerializeFont()
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |