1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26:
| function EnableStyle() { $('.firstx').circleProgress({ value: 1.0, size: 200.0, startAngle: -Math.PI, thickness: 'auto', color: '#3aeabb', fill: { gradient: ['#00b1ff', '#00b1ff'] },
emptyFill: 'rgba(0, 0, 0, .1)', animation: { duration: 1200, easing: 'circleProgressEasing' },
animationStartValue: 0.0, reverse: false, lineCap: 'round', }).on('circle-animation-progress', function(event, progress, stepValue) { $(this).find('strong').text(String(stepValue.toFixed(2)).substr(1)); }); } |