ComponentOne Chart for .NET (2.0) Search HelpCentral 

ChartGroup.CoordToDataCoord Method (Int32, Int32, ByRef Single, ByRef Single)

Calculates the data coordinates of a point in the PlotArea given chart client coordinates.

[Visual Basic]

Overloads Public Function CoordToDataCoord( _

ByVal XCoord As Integer, _

ByVal YCoord As Integer, _

ByRef XDataCoord As Single, _

ByRef YDataCoord As Single _

) As Boolean

[C#]

public bool CoordToDataCoord(

int XCoord,

int YCoord,

ref float XDataCoord,

ref float YDataCoord

);

[Delphi]

public function CoordToDataCoord(

XCoord: Int32;

YCoord: Int32;

var XDataCoord: Single;

var YDataCoord: Single

): Boolean; overload;

Parameters

XCoord

X coordinate.

YCoord

Y coordinate.

XDataCoord

X data coordinate.

YDataCoord

Y data coordinate.

Return Value

The return value indicates successful calculation.

Remarks

Mouse coordinates are given in client coordinates.

See Also

ChartGroup Class | ChartGroup Members | C1.Win.C1Chart Namespace | ChartGroup.CoordToDataCoord Overload List | ChartGroup Class


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.