ChartDirector 7.0 (Perl Edition)
BaseMeter.getCoor
Usage
getCoor(v)
Description
Gets the geometric coordinates given the data value.
For an angular meter, this method returns the angular position of the pointer for the given data value in degrees. The angle is measure in the clockwise direction, with 0 being the upward pointing direction.
For a linear meter, this method returns the linear pixel offset of the pointer for the given data value.
Arguments
Argument | Default | Description |
v | (Mandatory) | The input data value. |
Return Value
The geometric representation of the data value, which is an angle in degrees for an angular meter, and a linear pixel offset for a linear meter.
© 2021 Advanced Software Engineering Limited. All rights reserved.