[]
        
(Showing Draft Content)

Determining Coordinate Values

To determine the pixel coordinates of a given data point, call the DataIndexToCoord method. For example, the following code obtains the pixel coordinates of the point in the second row and third column:

To write code in Visual Basic

Dim PixelX, PixelY As Integer
C1Chart3D1.ChartGroups(0).ChartData.DataIndexToCoord(2, 1, PixelX, PixelY)
' PixelX and PixelY now contain the pixel coordinate value.

To write code in C#

int PixelX=0, PixelY=0;
C1Chart3D1.ChartGroups[0].ChartData.DataIndexToCoord(2,1,ref PixelX,ref PixelY);
// PixelX and PixelY now contain the pixel coordinate value.

See Also

Converting Data Coordinates to Pixel Coordinates