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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

125197 Jul 29,2016 06:06 AM UTC Aug 2,2016 01:09 PM UTC WPF 3
loading
Tags: SfChart
Sabhareesh Ravichandran
Asked On July 29, 2016 06:06 AM UTC

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

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On 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  
 


Sabhareesh Ravichandran
Replied On 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

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On 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 


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

;