ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart Namespace / ChartView Class / PointToData(Point) Method
Point in control coordinates


In This Topic
    PointToData(Point) Method
    In This Topic
    Transforms the point from control coordinates to data coordinates.
    Syntax
    'Declaration
     
    
    Public Function PointToData( _
       ByVal pt As Point _
    ) As Point
    'Usage
     
    
    Dim instance As ChartView
    Dim pt As Point
    Dim value As Point
     
    value = instance.PointToData(pt)
    public Point PointToData( 
       Point pt
    )

    Parameters

    pt
    Point in control coordinates

    Return Value

    The corresponding point in data coordinates.
    Remarks
    Only 2D Cartesian charts.
    See Also