I have an xy chart displaying a time chart showing points when faults
were identified, and want the user to be able to touch the plot area
and for that data point to be identified so that the main display can
be switched to the appropriate data.

I have a solution where I drag the cursor to the required point then
use Mouse Up event to read the cursor value, then search the data
array for the matching cursor value and get the solution.
However this is on a touch screen UI and dragging to cursor does not
work very well. What I would like is to be able to convert the mouse
position (relative to the full screen) and convert this to the
position on the plot area that is given by the cursor position.
If someone could tell me how to get the screen position of the plot
area rather than the full bounds of the xy control I think I could do
it.

Reply via email to