Pinache
Pinache

Reputation: 23

Add limit bar on my progress circle with progressbar.js

I got a circle bar like this example : JsFiddle and I would like to add a limit bar like this : Circle Bar

But I want a limit bar alterable with a value like with : "bar.animate(value);" for the blue bar.

How can I proceed to make this ?

Thanks in advance

Upvotes: 2

Views: 92

Answers (1)

Matic Bolko
Matic Bolko

Reputation: 56

Check animate() function. The docs don't specify this, so i think this answer could be usefull.

At the bottom:

bar.animate(1.0);  // Number from 0.0 to 1.0 or (88/100 => 0.88) for 88 %)

Upvotes: 0

Related Questions