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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Unable to scroll a scrollviewer when swipe gesture starts on SFChart control

Thread ID:

Created:

Updated:

Platform:

Replies:

124277 May 30,2016 12:01 AM UTC May 31,2016 11:21 AM UTC UWP 3
loading
Tags: SfChart
Salvatore Salpietro
Asked On May 30, 2016 12:01 AM UTC

I added an SFChart inside a ScrollViewer control along with other items like stack panel, grids etc.  on Windows Mobile device running Windows 10 UWP  when the scrolling (swipe) gesture starts on the SFChart, I cannot scroll the contents of the page, but when it starts outside (any other windows control, I'm able to scroll.   

Is there a way to fix this?

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On May 30, 2016 12:31 PM UTC

Hi Salvatore,  
  
Thanks for contacting Syncfusion Support.  
  
By setting IsHitTestVisible property as false, we can scroll the chart in the scroll viewer.  
    
[XAML]    
    
<syncfusion:SfChart x:Name="chart" IsHitTestVisible="False">    
    
    
    
</syncfusion:SfChart>   
     
  
We have also prepared a sample for this requirement. Please find the sample from the below link.  
  
  
By making this IsHitTestVisible property as false, it suppresses the interactive behaviors of the chart. 
  
Regards, 
Devi M   
 


Salvatore Salpietro
Replied On May 31, 2016 12:35 AM UTC

Thanks very much for the reply. 

Your solution worked perfectly, but I also found another solution using ManipulationMode="System"

What is the difference between the two?  Does it matter which one to use?

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On May 31, 2016 11:21 AM UTC

Hi Salvatore,

Thanks for your update.

We can set ManipulationMode as System in the chart to resolve the scroll problem in the scroll viewer. While setting the ManipulationMode as System, all the manipulation events are handled. But when we disable IsHitTestVisible, the hit test result of the element will not be returned.

Regards,
Devi 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.

Warning Icon 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.Close Icon

;