ComponentOne FinancialChart for WPF
C1.WPF.Chart Namespace / C1FlexChart Class / PointToData Method
If true the method returns data coordinates according to the axes of current plot area. By default (usePlotArea=false) it always uses the main chart axes (AxisX and AxisY).



In This Topic
    PointToData Method
    In This Topic
    Converts a Point from control coordinates to chart data coordinates.
    Syntax
    'Declaration
     
    
    Public Function PointToData( _
       ByVal point As Point, _
       Optional ByVal usePlotArea As Boolean _
    ) As Point
    'Usage
     
    
    Dim instance As C1FlexChart
    Dim point As Point
    Dim usePlotArea As Boolean
    Dim value As Point
     
    value = instance.PointToData(point, usePlotArea)
    public Point PointToData( 
       Point point,
       bool usePlotArea
    )
    public:
    Point PointToData( 
       Point point,
       bool usePlotArea
    ) 

    Parameters

    point
    usePlotArea
    If true the method returns data coordinates according to the axes of current plot area. By default (usePlotArea=false) it always uses the main chart axes (AxisX and AxisY).

    Return Value

    The point in chart data coordinates.
    See Also