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.

Trackball get date when moving

Thread ID:

Created:

Updated:

Platform:

Replies:

131112 Jun 21,2017 04:12 AM Jun 30,2017 07:59 AM Xamarin.Android 7
loading
Tags: SfChart
Roi g
Asked On June 21, 2017 04:12 AM


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

Roi g
Replied On June 21, 2017 07:49 AM


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?


Parthiban Sundaram [Syncfusion]
Replied On June 22, 2017 08:45 AM

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
 


Roi g
Replied On June 26, 2017 06:34 AM

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


Parthiban Sundaram [Syncfusion]
Replied On June 27, 2017 04:59 AM

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 


Roi g
Replied On June 28, 2017 05:51 AM

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


Saravana Pandian Murugan [Syncfusion]
Replied On June 29, 2017 10:31 AM

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.


Saravana Pandian Murugan [Syncfusion]
Replied On June 30, 2017 07:59 AM

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.


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.

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.

;