ComponentOne Chart for WPF and Silverlight
PointFromData Method (Axis)


C1.WPF.C1Chart Namespace > Axis Class : PointFromData Method
The point in axis data coordinates.
Optional offset.
Transforms the point from axis data coordinates to the chart view coordinates.
Syntax
'Declaration
 
Public Function PointFromData( _
   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.PointFromData(pt, offset)
public System.Windows.Point PointFromData( 
   System.Windows.Point pt,
   System.Windows.Point offset
)

Parameters

pt
The point in axis data coordinates.
offset
Optional offset.

Return Value

The point in chart view coordinates.
See Also

Reference

Axis Class
Axis Members