uery.easypiechart.min.js"></script>
	<script>
	$(function() {
		var $chart = $('.chart');
		$chart.easyPieChart({
			onStep: function(from, to, percent) {
				$(this.el).find('.percent').text(Math.round(percent));
			}
		});
		var chart = window.chart = $chart.data('easyPieChart');
		chart.update($chart.data('percent'));
		$('.js_update').on('click', function() {
			chart.update(Math.random()*200-100);
		});
	});
	</script>
</body>
</html>
