We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get coordinates of x and y in MouseDown event?

Platform: Windows Phone |
Control: SfChart |
Published Date: September 2, 2014 |
Last Revised Date: March 14, 2018 |
.NET Framework: 4.5 |
Product Version: 12.1.0.43

The coordinates of x and y axes can be obtained using the MouseDownClick event. In this example, the Mouse.GetPosition(ChartName) gets the x and y coordinates of the window and then converts the coordinates point to value using the PointToValue function.

XAML

 

C#

 

Output

 

C:\Users\mageshkumar\Pictures\Q21.png

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon