Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make the progress run over 180 seconds? #8

Open
alexmk92 opened this issue Jun 16, 2015 · 0 comments
Open

How can I make the progress run over 180 seconds? #8

alexmk92 opened this issue Jun 16, 2015 · 0 comments

Comments

@alexmk92
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant