SharpPlot Reference > PageMap Class > FindHotspot Method

PageMap.FindHotspot Method

Find the details of any data points on this page at given (x,y) location.

public int FindHotspot(
    double x,
    double y
Cursor-x in points.
Cursor-y in points.
return value
Integer handle to hotspot or 0 if none matched.

This returns a unique integer id for the topmost hotspot under the cursor. The id may be used to recover any hints or tips that have been associated with the data item, or to get full details of the hotspot for graphical editing purposes.

See also ...

Active charts in GUI Applications | PageMap.PageMap Members | PageMap.GetHotspotInfo Method

Send comments on this topic
© Dyalog Ltd 2020