Skip to content

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

Description

@alexmk92

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions