pguso/js-plugin-circliful

Animation/AnimationStep Setting Pair Not Working

raiderjakk opened this issue · 1 comments

If I specify an animationStep of greater than 1 for a graph with a small percentage, it displays improperly. If I choose not to animate the circle, I get the entire percentage string printed out but no graph. Thoughts?

        $("#weight-circle").circliful({
            animation: 1,
            animationStep: 1,
            foregroundBorderWidth: 15,
            backgroundBorderWidth: 20,
            percent: 1.6978409123065168793684031800,
            halfCircle: 1,
            foregroundColor: '#2f69c6'
        });

Misread decimal for int on percent property.