kottenator/jquery-circle-progress

Any way to display increasing percentages inside the circle?

kakariko-village opened this issue · 4 comments

Hi is there anyway to add an increasing percentages inside the circle? E.g: 0% increasing to 100% and sync with the animation of the circle?

Hi, @kakariko-village!

Sure there's a way, e.g. look into #20. Or there's an example at this page.

Any way to reset the process bar to 0 immediately when it reach 100 and stop animation at this point?

Yes, I think so:

$('.circle').circleProgress({value: 1}).one('circle-animation-end', function() {
  $(this).circleProgress({value: 0});
});

I hope I've helped you. I'm closing this ticket, but feel free to reopen.