setLabelAliasOfShapeLegend(value, alias)

Replace the specified label in the shape legend with an alias. Note: There is no corresponding “getter” function.

Parameters

value

Value to be replaced

alias

Replacement string

Examples

Chart1.setLabelAliasOfShapeLegend('NJ','New Jersey');
Chart1.setLabelAliasOfShapeLegend('NY','New York');

setLabelAliasOfShapeLegend

Either syntax below can be used in component script:

setLabelAliasOfShapeLegend(value, alias)           // unqualified
Chart1.setLabelAliasOfShapeLegend(value, alias)    // qualified

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