ChartDirector 6.0 (Ruby Edition)

Axis.getFormattedLabel


Usage

getFormattedLabel(i [, formatString ])

Description

Gets the label at the specified position on the axis, formatting one if necessary.

Arguments

ArgumentDefaultDescription
i(Mandatory)The position specified as a value on the axis scale.
formatString""The format string used to format a label if necessary. Please refer to Axis.setLabelFormat for the syntax of the format string. An empty string means the format will be automatically determined.

Return Value

Returns the label at the specified position. If there is no axis label at that position, formats one using the format string.