axis.font

Sets the font of the dimension or measure axis labels. The xAxis, yAxis, and y2Axis properties can be used as a shortcut.

Type

java.awt.Font or font description

Example

Chart1.axis['Company'].font = new java.awt.Font('Serif', java.awt.Font.BOLD, 12);
Chart1.axis['Company'].font ='Lucida Sans Unicode-BOLD-14';

dimensionFont

Either syntax below can be used in component script:

axis['...'].font            // unqualified
Chart1.axis['...'].font     // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.