Skip to content

Heatmap.ScreenPointToDiagramPoint method

Converts a position in control coordinates to the corresponding cell coordinates.

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

Declaration

public HeatmapDiagramCoordinates ScreenPointToDiagramPoint(Point position)

Parameters

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

Returns

type description
HeatmapDiagramCoordinates The column and row names of the cell under the given position, together with a flag that tells whether the position falls inside the grid.

See Also