ChartDirector 6.0 (Ruby Edition)

BaseMeter.setLabelFormat


Usage

setLabelFormat(formatString)

Description

Sets the format of the labels computed by ChartDirector.

The method is mainly used when BaseMeter.setScale is used, in which case the label values are not directly specified but are computed by ChartDirector. For example, a format string of "{value|2}" will format the values with 2 decimal places.

Please refer to Parameter Substitution and Formatting on all available format parameters.

Arguments

ArgumentDefaultDescription
formatString(Mandatory)The format string.

Return Value

None