ISeries.XScreenToValue
ISeries
function XScreenToValue(ScreenCoord: Integer): Double;
Type Library
TeeChartx
Description
This function returns the corresponding X 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)