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

6 posts, 0 answers
  1. Pete
    Pete avatar
    5 posts
    Member since:
    Aug 2013

    Posted 16 Aug 2013 Link to this post

    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??
  2. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 21 Aug 2013 Link to this post

    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.
  3. DevCraft banner
  4. Pete
    Pete avatar
    5 posts
    Member since:
    Aug 2013

    Posted 27 Aug 2013 Link to this post

    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
  5. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 28 Aug 2013 Link to this post

    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.
  6. Pete
    Pete avatar
    5 posts
    Member since:
    Aug 2013

    Posted 28 Aug 2013 Link to this post

    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
  7. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 02 Sep 2013 Link to this post

    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.
Back to Top
DevCraft banner