ComponentOne Chart for WPF and Silverlight
PointToData Method (Axis)


C1.WPF.C1Chart Namespace > Axis Class : PointToData Method
The point in chart view coordinates.
Optional offset.
Transforms the point from chart view coordinates to the axis data coordinates.
Syntax
'Declaration
 
Public Function PointToData( _
   ByVal pt As System.Windows.Point, _
   Optional ByVal offset As System.Windows.Point _
) As System.Windows.Point
'Usage
 
Dim instance As Axis
Dim pt As System.Windows.Point
Dim offset As System.Windows.Point
Dim value As System.Windows.Point
 
value = instance.PointToData(pt, offset)
public System.Windows.Point PointToData( 
   System.Windows.Point pt,
   System.Windows.Point offset
)

Parameters

pt
The point in chart view coordinates.
offset
Optional offset.

Return Value

The point in axis data coordinates.
See Also

Reference

Axis Class
Axis Members