ChartDirector 7.1 (.NET Edition)
BaseMeter.getCoor
Usage
[C#] | public int getCoor(double v); |
[VB] | Public Function getCoor(v As Double) As Integer |
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.
© 2023 Advanced Software Engineering Limited. All rights reserved.