Skip to content

CartesianChart.ScreenPointToDiagramPoint method

Converts a position in control coordinates to the corresponding values on the axes.

Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public CartesianDiagramCoordinates ScreenPointToDiagramPoint(Point position)

Parameters

name type description
position Point The position within the control, in device-independent units.

Returns

type description
CartesianDiagramCoordinates The values under the given position, together with a flag that tells whether the position falls inside the plot area. The dictionaries contain an entry only for the axes that the position can be resolved on.

See Also

Used in articles