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.
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?

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

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework: Product Version:
2568 09/02/2014 03/14/2018 Windows Phone SfChart 4.5 12.1.0.43
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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