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

Time delay

Thread ID:

Created:

Updated:

Platform:

Replies:

131525 Jul 14,2017 02:17 PM UTC Feb 22,2019 07:28 AM UTC WPF 4
loading
Tags: SfLinearGauge
Oleg
Asked On July 14, 2017 02:17 PM UTC

     Hi     
     I am using your gauges: digital, circular and linear. When I add new max and min(max for example from 10 to 5000) data digitalgauge and circulargauge are working correct, but when I use SFLinearGauge I must wait a long time(around 4-5seconds) and use very huge RAM size(sometimes 700MB) 
     How can I fix it?     
     Code for example:                
_sfLinearGauge.SfLinearGauge.MainScale.Minimum = min;     //from 0 to 0                                    
_sfLinearGauge.SfLinearGauge.MainScale.Maximum = max;     //from 10 to 5000                               
_sfLinearGauge.SfLinearGauge.MainScale.Interval = step;          //from 1 to 500

Ashwin Kumaravel [Syncfusion]
Replied On July 17, 2017 12:57 PM UTC

Hi Oleg,

Thanks for using Syncfusion products,

Currently we are validating on this, we will let you know the details shortly.

Regards,
Ashwin


Ashwin Kumaravel [Syncfusion]
Replied On July 18, 2017 08:50 AM UTC

Hi Oleg,

Thanks for using Syncfusion products,

We could reproduce the reported issue “Time delay in loading SfLinearGauge” at our end. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Regards,
Ashwin


John
Replied On February 22, 2019 03:34 AM UTC

     Hi     
     I am using your gauges: digital, circular and linear. When I add new max and min(max for example from 10 to 5000) data digitalgauge and circulargauge are working correct, but when I use SFLinearGauge I must wait a long time(around 4-5seconds) and use very huge RAM size(sometimes 700MB) 
     How can I fix it?     
     Code for example:                
_sfLinearGauge.SfLinearGauge.MainScale.Minimum = min;     //from 0 to 0                                    
_sfLinearGauge.SfLinearGauge.MainScale.Maximum = max;     //from 10 to 5000                               
_sfLinearGauge.SfLinearGauge.MainScale.Interval = step;          //from 1 to 500

I know its almost 2 years, but the problem still exists, its because when you set Maximum while Interval is 1, the code is trying to generate 5000 major ticks(not including minors). To solve this issue, you must set Interval first to 500 then Maximum to 5000, which will only have 10 major ticks. I think it may work.



Muneesh Kumar G [Syncfusion]
Replied On February 22, 2019 07:28 AM UTC

Hi Xmen, 
 
We would like to inform you that if you have given small number interval with large maximum value, obviously major ticks calculation and rendering will take time.  
 
As you said in your update, you can resolve this by setting large interval value. It will reduce the major ticks calculation and rendering time.  
 
Thanks, 
Muneesh Kumar G 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

;