legendTitleFont

Sets the font for the legend title.

Type

java.awt.Font or font description

Example

Chart1.legendTitleFont = new java.awt.Font('Serif', java.awt.Font.BOLD, 12);
Chart1.legendTitleFont = 'Comic Sans MS-BOLD-14';

legendFont

Either syntax below can be used in component script:

legendTitleFont         // unqualified
Chart1.legendTitleFont  // qualified

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