shapeLegends.title

Sets the legend title within a shape-key legend on charts that have multiple shape legends.

Type

String

Examples

Chart1.shapeLegends['Sum(Product:Quantity Purchased)'].title = 'Salesperson Shape';
Chart1.shapeLegends['Sum(Product:Total)'].title = 'Year Shape';

shapeLegendsTitle

Either syntax below can be used in component script:

shapeLegends['...'].title           // unqualified
Chart1.shapeLegends['...'].title    // qualified

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