ComponentOne Chart for .NET (2.0) Search HelpCentral 

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

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

ByRef YCoord As Integer _

) As Boolean

[C#]

public bool DataCoordToCoord(

double XDataCoord,

double YDataCoord,

ref int XCoord,

ref int YCoord

);

[Delphi]

public function DataCoordToCoord(

XDataCoord: Double;

YDataCoord: Double;

var XCoord: Int32;

var YCoord: Int32

): 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.