valueFormat

Sets the format for data values displayed in the chart plot area. 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.valueFormat = [Chart.DECIMAL_FORMAT,"#,###.00"];

 

Example (Text Format)

Chart1.valueFormat = [Chart.MESSAGE_FORMAT,"{0} Dollars"];

 

See Also

valueFormats, to set the format of a value on a multi-style chart.

<< valueFont © 1996-2013 InetSoft Technology Corporation (v11.5) valueRotation >>