x2Title.font

Sets the title font for the secondary (top) X-axis.

Type

java.awt.Font or font description

Example

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

Either syntax below can be used in component script:

x2Title.font            // unqualified
Chart1.x2Title.font     // qualified

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