DateTimeAxis

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 ? 

1 Reply

ME Manivannan Elangovan Syncfusion Team 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

Loader.
Up arrow icon