ChartDirector 7.0 (Perl Edition)

Axis.setLabelFormat


Usage

setLabelFormat(formatString)

Description

Sets the format for numeric or date/time axis labels.

By default, ChartDirector will try to guess if the axis represents numbers or dates. If the axis represents numbers, it will use "{value}" as the default format. If the axis represents dates, it will guess the format based on resolution of the dates (e.g. whether the dates contain hourly data or monthly data, etc). It may use formats such as {value|mm/dd/yy<*br*>hh:nn:ss}, {value|mm/dd/yy hh:nn:ss}, {value|mm/dd/yyyy}, {value|mm/yyyy} or {value|yyyy}.

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

Arguments

ArgumentDefaultDescription
formatString(Mandatory)The format string.

Return Value

None