SharpPlot Reference > PageMap Class > FindChart Method PageMap.FindChart Method
Report the name of the chart at these (x,y) co-ordinates.
public string FindChart(
double x,
double y
);
Example
pm = sp.RenderPageMap();
cht = pm.FindChart(100,100);
-
x
- Cursor-x in points.
-
y
- Cursor-y in points.
-
return value
- Chart name at this location (null string if none).
This can be used to check that the cursor is over a valid chart region (bounded bt rectangular axes) before attempting to convert points to axis values.
See also ...Active charts in GUI Applications | PageMap.PageMap Members | PageMap.PointsToAxes Method
Send comments on this topic © Dyalog Ltd 2021
|