SharpPlot Reference > PageMap Class > GetTracker Method PageMap.GetTracker Method
Convert points to status message giving x and y in user-space.
public string GetTracker(
double x,
double y
);
-
x
- Cursor-x in points.
-
y
- Cursor-y in points.
-
return value
- Co-ordinates formatted in user-space.
Description
This takes note of the axis type, so will (for example) correctly represent the cursor position as a date for timeseries charts. A typical result for a scatterplot would be “x:234 y:12.7” where the mouse position is translated to axis values, rounded off to 3 significant figures. Dates are shown in the standard ‘short-date’ style unless you give your own format string.
See also ...Active charts in GUI Applications | SharpPlot.XTrackFormat Property | SharpPlot.YTrackFormat Property | PageMap.PageMap Members
Send comments on this topic © Dyalog Ltd 2021
|