Mess4me,
Да! он добавляет данные масива как надо, но в прогресс баре нет изменений 0% стоит
var progressBarArray1 = ["0.75","0.36","0.21"];
var progressBarArray2 = ["0.25","0.43","0.33"];
var progressBarArray3 = ["0.40","0.75","0.54"];
var progressBarArray4 = ["0.75","0.78","0.46"];
var progressBarArrays = [progressBarArray1,progressBarArray2,progressBarArray3,progressBarArray4];
$(function(){
var circles = $('.circle');
var lis = $('#nav_slider a');
lis.on('click', function (a) {
var inx = $(this).index();
var i =0;
[].forEach.call(circles, function (el) {
$(el).attr('data-value',progressBarArrays[inx][i++])
});
});
circles.circleProgress({
startAngle: -Math.PI /2 * 8 ,
size: 130,
lineCap: 'round',
value: circles.data("value"),
thickness: 4,
fill: {color: '#19bd9a' },
emptyFill: 'rgba(4, 115, 120, 1)'
}).on('circle-animation-progress', function(event, progress, stepValue) {
$(this).find('strong').text((100 * stepValue).toFixed(0) + '%');
});
});