IAxis.CalcPosPoint
IAxis
function CalcPosPoint(SomeValue: Integer): Double;
Type Library
TeeChartx
Description
This function returns the corresponding value of a Screen position. The Screen position must be between Axis limits.
Example [Visual Basic]:
We want to calculate the Axis.Left value in the Vertical Screen coordinate of 220 pixels.
value = TChart1.Axis.Left.CalcPosPoint(220)
We could use the Series methods XScreentoValue or YscreenToValue to obtain the samevalue information
Value = TChart1.Series(0).XScreenToValue(220)