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. Image for the cookie policy date

Trackball get date when moving


Hi Syncfusion,
I am using Trackball and SFDateTimeAxis 
and I need to get the date when the trackball moves   
is there is a way?
I need the result in Xamarin Android and Xamarin iOS

7 Replies

RG Roi g replied to Roi g June 21, 2017 11:49 AM UTC


Hi Syncfusion,
I am using Trackball and SFDateTimeAxis 
and I need to get the date when the trackball moves   
is there is a way?
I need the result in Xamarin Android and Xamarin iOS

I have a custom point this is a way when the Trackball is moving to the points data?



PS Parthiban Sundaram Syncfusion Team June 22, 2017 12:45 PM UTC

Hi Rio,

Thanks for using Syncfusion products.

We have prepared the sample based on your requirement using GetView() override method of ChartTrackballBehavior for Android and DidTrackballLabelGenerate() of SFChartDelegate in iOS. Please download the sample from following location.

Xamarin Android: http://www.syncfusion.com/downloads/support/forum/131112/ze/Sample_Android1695279623
Xamarin iOS: http://www.syncfusion.com/downloads/support/forum/131112/ze/Sample_iOS2104578196

Kindly provide us more details if your requirement is different from this.

Regards,
Parthiban S
 



RG Roi g June 26, 2017 10:34 AM UTC

Hi the problem with that answer that I don't get the data from ColumnSeries



PS Parthiban Sundaram Syncfusion Team June 27, 2017 08:59 AM UTC

Hi Roi,

Thanks for the update.

Based on your requirement, we have modified the sample with ColumnSeries. And the sample can be downloaded from following location.

Xamarin Android: http://www.syncfusion.com/downloads/support/forum/131112/ze/Sample_Android-438096684  

Xamarin iOS: http://www.syncfusion.com/downloads/support/forum/131112/ze/Sample_iOS-250690854  

Please let us know, if you need further assistance on this.

Regards,
Parthiban S 



RG Roi g June 28, 2017 09:51 AM UTC

Hi Syncfusion,

I saw your code and it didn't really help me.

the code working fine when you have one column 

but I have SFStackingColumn and when the trackball is moving 

I need to get the data from all the series  in the same axis x value

and in my chart, I have all so areaSeries that are always on top

and the trackball give me the data only when the user moves his finger on the column  but when the user moves his finger, not on the column but on the same axis x value I get only the point from the area series 

so is there is a way to get all the data point from all the series?

Thanks, Roi



SP Saravana Pandian Murugan Syncfusion Team June 29, 2017 02:31 PM UTC

Hi Roi,

We have achieved your requirement by using DataPointIndex of ChartPointInfo in OnLabelsGenerated override method of ChartTrackballBehavior. Please download the sample from the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/131112/ze/Sample829717416  

Note: We have achieved your requirement in Xamarin.Android platform only. For Xamarin.iOS platform, we will update you the sample in one business day (June 30, 2017).

Regards,
Saravana Pandian M.



SP Saravana Pandian Murugan Syncfusion Team June 30, 2017 11:59 AM UTC

Hi Roi,

We have achieved your requirement in Xamarin.iOS by using DidTrackballLabelsGenerate override method. Please download the sample from the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/131112/ze/Sample_iOS1799249674

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

Regards,
Saravana Pandian M.


Loader.
Up arrow icon