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


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

    Parameters

    pt
    Point in data coordinates

    Return Value

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