FlexChart | ComponentOne
C1.WPF.Chart Assembly / C1.WPF.Chart Namespace / FlexChart Class / PointToData Method
Point in control coordinates.
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 (FlexChart)
    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
    public Point PointToData( 
       Point point,
       bool usePlotArea
    )

    Parameters

    point
    Point in control coordinates.
    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