Chartjs-Chart.js is not showing data

0👍

The for loop does not look correct

for(var i = 0; i < data.length; i++) {
    item.push(data[i].item_name);
    remaining.push(data[i].remaining);
}

Leave a comment