ComponentOne Chart for .NET (2.0) Search HelpCentral 

ChartGroup.DataCoordToCoord Method (Double, Double, ByRef Single, ByRef Single)

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

[Visual Basic]

Overloads Public Function DataCoordToCoord( _

ByVal XDataCoord As Double, _

ByVal YDataCoord As Double, _

ByRef XCoord As Single, _

ByRef YCoord As Single _

) As Boolean

[C#]

public bool DataCoordToCoord(

double XDataCoord,

double YDataCoord,

ref float XCoord,

ref float YCoord

);

[Delphi]

public function DataCoordToCoord(

XDataCoord: Double;

YDataCoord: Double;

var XCoord: Single;

var YCoord: Single

): Boolean; overload;

Parameters

XDataCoord

X data coordinate.

YDataCoord

Y data coordinate.

XCoord

X client coordinate.

YCoord

Y client 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.DataCoordToCoord Overload List | ChartGroup Class


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