Object Reference > ChartGroup Object > ChartGroup Object Methods > CoordToDataCoordObject Method (ChartGroup) |
CoordToDataCoordObject Method (ChartGroup)
Maps a pixel coordinate to a chart coordinate.
Function CoordToDataCoordObject(XPixel As Long, YPixel As Long) As Chart2DDataCoordResult
This method is similar to CoordToDataCoord, except that the Chart2DDataCoordResult object is returned with theX and Y values indicating chart region in which the coordinate is found. This method should be used if passing parameters by reference is not allowed in your development environment (such as VBScript).
Part |
Type |
Description |
Xpixel |
Long |
X pixel coordinate |
Ypixel |
Long |
Y pixel coordinate |
See Also