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. Image for the cookie policy date

SfChart hangs after zooming into lowest zoom level possible on the axis

Used SfChart Line Series for experimentation.
With Primary Axis as DateTimeAxis and SecondaryAxis as NumericAxis.
Added ChartZoomPanBehaviour to make the chart interactive. But after zooming into lowest level possible on DateTimeAxis, the chart control hangs and leads to application crash.
i.e., After I zoom till 1 millisecond interval, the chart hangs.

Attached the screenshot


Attachment: Sfchart_hangs_d7c60986.zip

3 Replies

DA Devi Aruna Maharasi Murugan Syncfusion Team August 1, 2016 01:45 PM UTC

Hi Sabhareesh, 
  
Thanks for contacting Syncfusion Support. 
  
While zooming to lowest level, the interval between the visible labels is greater than the precision value of double, so that chart control hangs. To overcome this problem, we suggest you to set MaximumZoomLevel of ChartZoomPanBehavior as shown in the below code snippet.  
  
Code example: 
[XAML] 
              <chart:SfChart.Behaviors> 
                <chart:ChartZoomPanBehavior MaximumZoomLevel="10" /> 
            </chart:SfChart.Behaviors> 
  
  
Regards, 
Devi  
 



SR Sabhareesh Ravichandran August 1, 2016 01:58 PM UTC

Setting the MaximumZoomLevel to 10 did not solve the issue.
When zooming to the lowest possible interval, it works fine time-to-time. But hangs unexpectedly with OutOfMemoryException sometimes too. 


Attachment: SfChart_Hang_Exception_2314f15a.zip


DA Devi Aruna Maharasi Murugan Syncfusion Team August 2, 2016 01:09 PM UTC

Hi Sabhareesh, 
  
Thanks for your update. 
  
We have confirmed the reported problem as a defect and the issue will be fixed in our Volume 2 SP2 release which is scheduled to be released by the end of August. 
  
Regards, 
Devi 


Loader.
Live Chat Icon For mobile
Up arrow icon