[]
        
(Showing Draft Content)

C1.WinUI.Chart.FlexChart.PointToData

PointToData Method

PointToData(Point, bool)

Converts a Point from control coordinates to chart data coordinates.

Declaration
public Point PointToData(Point point, bool usePlotArea = false)
Public Function PointToData(point As Point, Optional usePlotArea As Boolean = False) As Point
Parameters
Type Name Description
Point point

Point in control coordinates.

bool 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).

Returns
Type Description
Point

The point in chart data coordinates.