ComponentOne FinancialChart for WPF
C1.WPF.Chart Namespace / C1FlexChart Class / DataToPoint Method
Point in data coordinates.



In This Topic
    DataToPoint Method
    In This Topic
    Converts a Point from data coordinates to control coordinates.
    Syntax
    'Declaration
     
    
    Public Function DataToPoint( _
       ByVal pt As Point _
    ) As Point
    'Usage
     
    
    Dim instance As C1FlexChart
    Dim pt As Point
    Dim value As Point
     
    value = instance.DataToPoint(pt)
    public Point DataToPoint( 
       Point pt
    )
    public:
    Point DataToPoint( 
       Point pt
    ) 

    Parameters

    pt
    Point in data coordinates.

    Return Value

    Point in control coordinates.
    See Also