shapeLegend.format

Sets the format for data values displayed in the shape legend. The available formats are shown below:

Chart.DATE_FORMAT for date display

Chart.DECIMAL_FORMAT for number display

Chart.MESSAGE_FORMAT for text display

Chart.PERCENT_FORMAT for fraction display

Chart.CURRENCY_FORMAT for locale-adapting currency display

For the Date, Decimal, and Message formats, optionally specify the format and mask as items in an array. See Format Types in Report Design and Format Tab in Dashboard Design for more information about the masks.

Type

Constant (format) or Array ([format, mask])

Example (Number Format)

Chart1.shapeLegend.format = [Chart.DECIMAL_FORMAT,"$#,##0.00"];

 

Example (Text Format)

Chart1.shapeLegend.format = [Chart.MESSAGE_FORMAT,"{0} Inc."];

 

<< colorLegend.format © 1996-2013 InetSoft Technology Corporation (v11.5) sizeLegend.format >>