xxxxxxxxxx
1
<aside class="card mb-3">
2
<div class="card-header card-header-StudentDB-sb"><i class="fal fa-percent mr-2"></i>RĂ©alisation</div>
3
<div class="card-body text-center">
4
<span class="min-chart my-0" id="chart-real" data-percent="78"><span class="percent"></span></span>
5
</div>
6
</aside>
1
1
​
xxxxxxxxxx
1
$(function () {
2
$('.min-chart#chart-real').easyPieChart({
3
barColor: "#ffbb33",
4
onStep: function (from, to, percent) {
5
$(this.el).find('.percent').text(Math.round(percent));
6
}
7
});
8
});
Console errors: 0