ChartDirector 7.1 (.NET Edition)

BaseMeter.setScale2


Usage

[C#]public void setScale2(double lowerLimit, double upperLimit, string[] labels);
[VB]Public Sub setScale2(lowerLimit As Double, upperLimit As Double, labels As String())

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