ChartDirector 7.1 (.NET Edition)

BaseMeter.setLabelPos


Usage

[C#]public void setLabelPos(bool labelInside [, int labelOffset ]);
[VB]Public Sub setLabelPos(labelInside As Boolean [, labelOffset As Integer ])

Description

Sets the positions of the meter scale labels.

Arguments

ArgumentDefaultDescription
labelInside(Mandatory)A true value means that the labels are on the 'inward' side of the meter scale. A false value means the labels are on the 'outward' side of the meter scale.

For an angular meter, the default is for the labels on the 'inward' side. For a linear meter, the default is for the labels on the 'outward' side.
labelOffset0The offset, in pixels, of the labels position relative to the standard position. If the major tick is at the same side as the label, the standard starting position of the label is at the end point of the major tick. Otherwise, the standard starting position is on the meter scale.

A positive labelOffset means the labels should move more towards the 'inward' or 'outward' side, depending on the first parameter. A negative labelOffset means moving the labels towards the opposite direction.

Return Value

None