[Chartjs]-Chart.js Doughnut anticlockwise animation

1👍

you might want to delay the time you set the actual value and set it only after the initial graph is loaded.

    setInterval(function() {
    data.datasets[0].data[1] = 60;
    data.datasets[0].backgroundColor[1] = "#F7464A";
    promisedDeliveryChart.update();
    }, 1000);

Here is how it looks in action: https://jsfiddle.net/u8goLmgt/2/

Leave a comment