Class ChartFont
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
ChartFont
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartFont : EJTagHelper
Constructors
ChartFont()
Declaration
public ChartFont()
Properties
Color
Specifies the color of the text.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
FontFamily
Specifies the font family for the text.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
FontStyle
Specifies the style of the text.
Declaration
public string FontStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "Normal" |
FontWeight
Specifies the font weight of the text.
Declaration
public string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "Normal" |
Opacity
Specifies the opacity level for the text.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Size
Specifies the size of the text.
Declaration
public string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "16px" |
TextAlignment
Specifies the alignment of the text.
Declaration
public Alignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | The default value is Alignment.Center |
TextOverflow
Specifies how the chart title text should handle overflow.
Declaration
public TextOverflow TextOverflow { get; set; }
Property Value
Type | Description |
---|---|
TextOverflow | The default value is TextOverflow.Wrap |