ChartDirector 6.0 (Perl Edition)

BaseMeter.setScale


Usage

setScale(lowerLimit, upperLimit [, majorTickInc [, minorTickInc [, microTickInc ]]])

Description

Sets the meter to use the given scale.

Arguments

ArgumentDefaultDescription
lowerLimit(Mandatory)The lower limit of the meter scale.
upperLimit(Mandatory)The upper limit of the meter scale.
majorTickInc0The interval between major ticks. For example, a value of 10 means a major tick every 10 units in the meter scale. Each major tick will have an associated label for the value at the tick. A value of 0 disables major ticks.
minorTickInc0The interval between minor ticks. For example, a value of 5 means a minor tick every 5 units in the meter scale. A value of 0 disables minor ticks.
microTickInc0The interval between minor ticks. For example, a value of 1 means a minor tick every 1 units in the meter scale. A value of 0 disables micro ticks.

Return Value

None