Reference > Active Charts > 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 ...

PageMap Class – Introduction | PointsToAxes Method | PageMap Members


Send comments on this topic
© Dyalog Ltd 2013