This project is read-only.

Handling dynamic context menu click using values of horizontal and vertical axis

Oct 25, 2012 at 10:04 AM

Hi D3,

I have created a dynamic context menu item according to this discussion:


I have a Line Graph with a Integer vertical axis and a DateTime horizontal axis.

Unfortunately I do not receive the horizontal and vertical axis in the MenuItem_Click event. The best I can achieve is getting the X, Y of the mouse click relevant to the ChartPlotter.


For example, if the user would right click on a point in the line graph then I want to get the combination of the DateTime right below the mouse click and the Integer value to the left of the mouse click.


Does anyone know how to achieve this?