Is it possible to get the X and Y values of the point, where user right clicked on the Stacked Area to open the context Menu?
Or any nearby DataPoint X,Y Values.
Please Reply as soon as possible.
Thanks in Advance.
3 Answers, 1 is accepted
answered on 25 Jan 2011, 07:46 AM
To be able to get the XValue and YValue of the right-clicked point you can use the following approach: GetPosition method of the System.Windows.Point struct will give you the Physical X and Y coordinates of the mose pointer poition. You can easily get the Data standing behind these values by using our Axis.ConvertPhysicalUnitsToData method: