TextFont property



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

Syntax

Set:     myObject.setTextFont(font)
Get: font = myObject.getTextFont

Applies to

Series, TextElement, and Axis objects.

Data type

Font. An object of type Font, which is defined in the java.awt package. [[PS: Ref. a topic about accessing java classes.]]

Usage

After setting this property, call refresh() to redraw the chart.

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