sizeLegends.font

Sets the font for labels within a size-key legend on Charts that have multiple size legends.

Type

java.awt.Font or font description

Example

Chart1.sizeLegends['Sum(Product:Quantity Purchased)'].font = new java.awt.Font('Serif', java.awt.Font.BOLD, 12);
Chart1.sizeLegends['Sum(Product:Total)'].font = 'Comic Sans MS-BOLD-14';

sizeLegendsFont

Either syntax below can be used in component script:

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

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