Gets or sets the name of the font for all chart labels.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public string FontName { get; set; } |
Visual Basic
![]() |
---|
Public Property FontName As String |
A string that represents the font name.
The FontName property specifies only the name of the font - "Times New Roman", "Arial", "Verdana" etc. and is applied to all chart labels. If you want to adjust font characteristics such as size, thickness etc. or change the font name for a given type of label you should use the appropriate Font property - TitleFont, SubTitleFont, LegendFont, LabelFont etc.
Default value of the FontName property is "Times New Roman".