Class ChartFont
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class ChartFont : EJTagHelper
Constructors
ChartFont()
Declaration
public ChartFont()
Properties
Color
Gets or sets the font Color, which provides an option to customize text color of series, axis, title, tooltip, legend, datalabel etc.
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FontFamily
Gets or sets the FontFamily, which provides an option to customize font family of crosshair label, sub title, indicator, points, etc.
Declaration
[JsonProperty("fontFamily")]
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FontSize
Gets or sets the font Size, which provides an option to customize text size of datalabel, axis, tooltip, series, legend, etc.
Declaration
[JsonProperty("size")]
public string FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FontStyle
Gets or sets the FontStyle, which provides an option to customize text style of axis, stripline, indicator, series, tooltip etc.
Declaration
[JsonProperty("fontStyle")]
[JsonConverter(typeof(StringEnumConverter))]
public ChartFontStyle FontStyle { get; set; }
Property Value
Type | Description |
---|---|
ChartFontStyle |
FontWeight
Gets or sets the FontWeight, which provides an option to customize text weight of stripline, legend, points, indicator, title, etc.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("fontWeight")]
public ChartFontWeight FontWeight { get; set; }
Property Value
Type | Description |
---|---|
ChartFontWeight |
Opacity
Gets or sets the font Opacity, which provides an option to customize text opacity of tooltip, axis, data label, series, etc.
Declaration
[JsonProperty("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |