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

Chart in Scroll Viewer with pan and zoom, will not scroll correctly

5 Answers 105 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pete
Top achievements
Rank 1
Pete asked on 16 Aug 2013, 04:48 PM
Hey, I have charts that are inside a scroll viewer and I have pan and zoom turned on.
Unfortunately, when I go to scroll and my finger starts on the chart nothing will scroll.
Any ideas??

Hey, I did notice that Telerik did address this issue in 7.1, so just wondering if that fix would also work for 8??

5 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 21 Aug 2013, 02:11 PM
Hi Pete,

Thanks for writing.

In general, it is not recommended to put scrollable content inside a ScrollViewer on Windows Phone.

It will be really helpful for us to assist you further if you manage to pack your source in a ZIP and attach it in a newly opened support ticket for further investigation on our side.

Thanks for your time.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Pete
Top achievements
Rank 1
answered on 27 Aug 2013, 08:02 PM
Unfortunately, the screen created is showing anywhere between 3 to 15 charts based on region. Because of this, it is very UI unfriendly to have all of the controls showing on one page, thus the need for the scrollviewer > region expanders > region charts. So it makes no sense that the vertical scroll event would be captured by the horizontal scroll and zoom for a chart.  There have been over 1400+ clicks into this issue for windows 7. Seems like this fix got pushed out? But maybe not?

For now I have just removed the zoom and scrolling capability, but that is really a bummer.

http://www.telerik.com/community/forums/windows-phone/chart/panning-inhibits-vertical-scrollviewer.aspx

Hi Scott,

Thanks for writing.
This is an issue in RadChart and it was addressed thanks to you. A new version of the chart will be available in the next internal build which will be release this or next week.

Thanks for the feedback.
Your Telerik points have been updated.

Greetings,
Victor
the Telerik team
0
Deyan
Telerik team
answered on 28 Aug 2013, 08:29 AM
Hi Pete,

Thanks for writing back.

The Windows Phone 8 ScrollViewer behaves slightly different compared to the Windows Phone 7 one. In Windows Phone 8 Microsoft introduced the so-called Manipulation thread which handles the user input. This aims to offload the UI thread for the rest of the processing thus implementing a really smooth scrolling experience. What happens on Windows PHone 8 by default is that the MainpulationDelta events are directly absorbed by the ScrollViewer without reaching the chart. We cannot prevent this from happening but what you can do is turn off this manipulation thread and use the old, Windows PHone 7 approach. For that purpose you will have to set the ManipulationMode on the ScrollViewer to Control:

http://msdn.microsoft.com/en-us/library/system.windows.controls.scrollviewer.manipulationmode(v=vs.95).aspx

This should resolve the glitches.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Pete
Top achievements
Rank 1
answered on 28 Aug 2013, 05:48 PM
Deyan,

Ok, fair enough, I have also changed the UI to create a full screen popup that they can then use the zoom and horizontal scrolling.
Thanks for the explanation, I will try flipping the manipulation mode and if it does not work, I will continue to use the popup solution on tap.

Pete
0
Deyan
Telerik team
answered on 02 Sep 2013, 07:41 AM
Hell Pete,

We will consider this thread closed for now.

Let us know if you have additional questions.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart
Asked by
Pete
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Pete
Top achievements
Rank 1
Share this question
or