ChartDirector 5.1 (PHP Edition)

Axis.setMultiFormat2


Usage

setMultiFormat2(filterId, formatString [, labelSpan [, promoteFirst ]])

Description

Adds one filter and format string to the multi-format lists.

Please refer to Axis.setMultiFormat on how to use this method.

Arguments

ArgumentDefaultDescription
filterId(Mandatory)The filter that defines a subset of labels.
formatString(Mandatory)The format string for formatting the subset defined by the above filter.
labelSpan1The number of label positions that are claimed by one label. If a label occupies more than 1 position, ChartDirector will not put labels on nearby positions, even if they meet the filter criteria.
promoteFirsttrue (non-zero)If set to true, the first label will be promoted to a higher filter category in the multi-format list.

Return Value

None