ChartDirector 5.1 (PHP Edition)

BaseMeter.setScale2


Usage

setScale2(lowerLimit, upperLimit, labels)

Description

Sets the meter to use the given scale with the given text labels and tick positions.

ChartDirector will distribute the labels evenly on the scale. By default, all labels are associated with major ticks. These can be modified by using '-', '~' or ':' as the first character. Please refer to BaseMeter.addLabel for details.

Arguments

ArgumentDefaultDescription
lowerLimit(Mandatory)The lower limit of the meter scale.
upperLimit(Mandatory)The upper limit of the meter scale.
labels(Mandatory)An array of text strings to be used as the labels on the meter scale.

Return Value

None