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

Chart PointToValue does not return the correct data point

Thread ID:





115612 Jan 24,2014 08:59 PM UTC Jan 30,2014 05:03 PM UTC WinRT 1
Tags: General
Jason Phillips
Asked On January 24, 2014 08:59 PM UTC


I am using a LineSeries with data points {DateTime, double} and I try to get the DateTime value from a PointerRelease event but the datetime seems offset.

If I click on the "1/24/2014 10:00 am" line I will get "1/24/2014 12:30 pm". It all depends on zoom level. The more I zoom in, the more precise the date returned is.

Is this a bug or do we need to factor in another value in the calculation?


Karthikeyan V [Syncfusion]
Replied On January 30, 2014 05:03 PM UTC

Hi Jason,

Thanks for using the Syncfusion products.

We have analysed the reported requirement. If you need the exact underlying data point you can make use of FindNearestChartPoint method. Please find the sample under the following location.

Code snippet [C#]:

  private void chart1_PointerReleased(object sender, PointerRoutedEventArgs e)


            SfChart SER = sender as SfChart;

           Point pt = e.GetCurrentPoint(SER.Series[0]).Position;


           double x = 0, y = 0, z = 0;

           SER.Series[0].FindNearestChartPoint(pt, out x, out y, out z);

           var nearestData = x.FromOADate();


Please let us know if you require further assistance on this.


Karthikeyan V.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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