colorLegend.font

Sets the font for labels within a color-key legend.

Type

java.awt.Font or font description

Example

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

colorLegendFont

Either syntax below can be used in component script:

colorLegend.font          // unqualified
Chart1.colorLegend.font   // qualified

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