This is a migrated thread and some comments may be shown as answers.

Trackball zoom and pan

8 Answers 85 Views
Chart - Xamarin.iOS
This is a migrated thread and some comments may be shown as answers.
Itamar
Top achievements
Rank 1
Itamar asked on 14 Mar 2017, 08:06 AM

Hello
We use 
  Chart.XAxis.AllowZoom = true;
  Chart.XAxis.AllowPan = true;
   Chart.AllowTrackball = true;
   Chart.AllowPanDeceleration = true;
   Chart.Trackball.SnapMode = TKChartTrackballSnapMode.AllClosestPoints;
   Chart.Trackball.Tooltip.Hidden = true;


When we zoom on the chart and then start trackball
The pan is working instead of the trackball
How can we handle this? 
Best Regards 

8 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 16 Mar 2017, 09:13 AM
Hi,

Thanks for writing.

I have managed to reproduce the behavior that you describe. The reason for it is that the Pan gesture is handled with higher priority than the Trackball's. We will log this into our TODO list for fixing in an upcoming release.

I have added 1000 Telerik points to your account for bringing our attention to this issue.


Regards,
Deyan
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Miro
Top achievements
Rank 1
Iron
Iron
answered on 25 Mar 2021, 06:13 AM

Please can you advice if the above issue was resolved. You have indicated that "We will log this into our TODO list for fixing in an upcoming release." but any updates since then "2017".

Thanks

0
Didi
Telerik team
answered on 29 Mar 2021, 08:30 AM

Hi Miro, 

I have tested this scenario in our Chart Pan/Zoom demo in the Telerik UI for Xamarin.iOS examples and I cannot reproduce any issues when zoom and pan are applied and the trackball behavior is used.

I have added this code to the example:

chart.XAxis.AllowZoom = true;
chart.XAxis.AllowPan = true;
chart.AllowTrackball = true;
chart.AllowPanDeceleration = true;
chart.Trackball.SnapMode = TKChartTrackballSnapMode.AllClosestPoints;
chart.Trackball.Tooltip.Hidden = true;

 

Could you please elaborate more on the issue you are observing? If you can attach a sample repro project that could be of great help. Note that you should open a support ticket and attach the project there because in the forum only image attachments are allowed. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Miro
Top achievements
Rank 1
Iron
Iron
answered on 05 Apr 2021, 12:52 AM
I am not able to resolve the issue in the iOS also i am not able to achieve the same in the android. So can you please just check the problem where i am facing it. You can check the code in the HRDashbaordPage.xaml and HRDashboardPageViewModel.cs". If you want to have a call with my team then also let me know, we will have it. 

I want to achieve that categorical axis should be scrollable so when there is a lot data then it should not be sticky it should be scrollable
0
Miro
Top achievements
Rank 1
Iron
Iron
answered on 05 Apr 2021, 04:10 AM
Please can you advice how to share the code, because if I sent attachment as jpg it will not have enough for you to check or review.
0
Didi
Telerik team
answered on 05 Apr 2021, 06:29 AM

Hi Miro,

Please open a support ticket and attach the project there, in the forum only image attachments are allowed. 

Include this information in the support ticket :

- Describe the issue and the exact steps to reproduce the issue.

- include on which iPhone device/simulator the issue observes.

- The used Telerik UI for Xamarin version 
- Are you developing a Xamarin.Forms app or Xamarin.Android and Xamarin.iOS apps. I am asking about this as you have also mentioned android. Please specify which Chart control is used? 

Regards,
Didi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Miro
Top achievements
Rank 1
Iron
Iron
answered on 06 Apr 2021, 04:20 AM
- steps to reproduce the issue
-- Set the HRDashboardPage xaml to the default page for running the app
-- I am getting crash for the iOS in the 14.4 iOS simulator
-- For the android, it is not getting crash but pan/zoom effect is not working

- Telerik version which we have used in our app
-- Xamarin Forms  [ 4.8.0.1269 ]
-- Telerik UI For Xamarin [ 2021.1.224.1 ]

- Yes, we are developing a Xamarin Forms app.

- We are using a RadCartesianChart with Spline Series.
0
Didi
Telerik team
answered on 06 Apr 2021, 11:52 AM

Hello Miro,

I have sent a reply to the support ticket. We can continue the communication there.

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Chart - Xamarin.iOS
Asked by
Itamar
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Miro
Top achievements
Rank 1
Iron
Iron
Didi
Telerik team
Share this question
or