MindFusion.Charting Programmer's Guide

Chart.FontName Property

See Also
 





Gets or sets the name of the font for all chart labels.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public string FontName { get; set; }

Visual Basic  Copy Code

Public Property FontName As String

 Property Value

A string that represents the font name.

 Remarks

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 characteristisc 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".

 See Also