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