TextFontName property



The name of the font used for the specified text, for example, the font applied to series data labels, and x- and y-axis titles.

Syntax

Set:     Chart.setTextFontName(fName)
Get: fName = Chart.getTextFontName()

Applies to

Series, TextElement, and Axis objects.

Data type

string. The name of the font.

Usage

After setting this property, call refresh() to redraw the chart.
Valid font names are system-dependent. If the font name provided is not valid, TextFontName applies the system default font, which is Helvetica.

See also
TextFont property
footnoteFont PARAM tag
legendFont PARAM tag
titleFont PARAM tag
xAxisTitleFont PARAM tag
yAxisTitleFont PARAM tag