ComponentOne Chart 8.0 for ActiveX
CoordToDataCoordObject Method (ChartGroup)

 

CoordToDataCoordObject Method (ChartGroup)

Maps a pixel coordinate to a chart coordinate.

Syntax

Function CoordToDataCoordObject(XPixel As Long, YPixel As Long) As Chart2DDataCoordResult

Remarks

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

ChartGroup Object

Region Constants

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback