jquery-asPieProgress icon indicating copy to clipboard operation
jquery-asPieProgress copied to clipboard

How can I make the progress run over 180 seconds?

Open alexmk92 opened this issue 10 years ago • 0 comments

I'm writing some automated test software, and use this framework for showing progress times. A test can run for a specified quantum of time (by default 180 seconds).

I tried to set speed to 180000 for 180 seconds, but it runs way past that. Changing this to 1800 almost gave me the desired 3minute clock, but it timed out at 2:38.

Am I doing something wrong with my configuration parameters?

$('.pie_progress').asPieProgress({
       namespace: 'pie_progress',
       easing: 'ease',
       first: 0,
       max: 100,
       goal: 100,
       trackcolor: '#0f0f0f',
       barcolor: '#98d112',
       barsize: 25,
       speed: 18 * READ_SPEED,
       numberCallback: function(n) {
             percentDone = n;
             if(n == 100)
                  depressure();
       }
 })

Thanks in advance!

alexmk92 avatar Jun 16 '15 15:06 alexmk92