ComponentOne Chart for .NET (2.0) Search HelpCentral 

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

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 Double, _

ByRef YDataCoord As Double _

) As Boolean

[C#]

public bool CoordToDataCoord(

int XCoord,

int YCoord,

ref double XDataCoord,

ref double YDataCoord

);

[Delphi]

public function CoordToDataCoord(

XCoord: Int32;

YCoord: Int32;

var XDataCoord: Double;

var YDataCoord: Double

): Boolean; overload;

Parameters

XCoord

X client coordinate.

YCoord

Y client 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.