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

DateTimeAxis

Thread ID:

Created:

Updated:

Platform:

Replies:

121600 Jan 6,2016 09:23 AM UTC Jan 7,2016 01:04 PM UTC Xamarin.Forms 1
loading
Tags: SfChart
woruhitan
Asked On January 6, 2016 09:23 AM UTC

Hi guys!

Is there a way to get a DateTime value for current coordiantes after tapping the SfChart DateTimeAxis? 
Method dateTimeAxis.PointToValue(new Point(x, y));
returns double. The question is: how can I translate double value in DateTime?

I created TapBehaviour (nested from ChartBehaviour abstract class) to get current touch coordinates.
Is it a good way ? 

Manivannan Elangovan [Syncfusion]
Replied On January 7, 2016 01:04 PM UTC

Hi Woruhitan

Thanks for using Syncfusion products.

We can convert the double value to DateTime Value, which is returned from PointToValue method. We have prepared a sample based on your requirement. Please download from the following location.

Sample: SimpleSample

Thanks,
Manivannan.E

CONFIRMATION

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.

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

;