Object Reference > ChartGroup Object > ChartGroup Object Methods > CoordToDataCoord Method (ChartGroup) |
CoordToDataCoord Method (ChartGroup)
Maps a pixel coordinate to a chart coordinate.
Function CoordToDataCoord(XPixel As Long, YPixel As Long, X As Double, Y As Double) As RegionConstants
Returns a value indicating the chart region in which the coordinate is found.
Part |
Type |
Description |
Xpixel |
Long |
X pixel coordinate |
Ypixel |
Long |
Y pixel coordinate |
X |
Double |
Returned X chart coordinate |
Y |
Double |
Returned Y chart coordinate |
See Also