colorLegends.font
Sets the font for labels within a color-key legend (on charts that have multiple color legends).
Type
java.awt.Font or font description
Example
Chart1.colorLegends['Sum(Product:Quantity Purchased)'].font = new java.awt.Font('Serif', java.awt.Font.BOLD, 12);
Chart1.colorLegends['Sum(Product:Total)'].font = 'Comic Sans MS-BOLD-14';

|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |