colorLegends.title
Sets the legend title within a color-key legend (on charts that have multiple color legends).
Examples
Chart1.colorLegends['Sum(Product:Quantity Purchased)'].title = 'Salesperson Color';
Chart1.colorLegends['Sum(Product:Total)'].title = 'Year Color';

|
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. |