Chartjs-Create a weekly line chart (52 labels)

0👍

One option which may not be the best or most efficient is you could create a loop to make the Labels, if they will all have the same format:

var labels = [];
for(var i=1; i<=52; i++) {
    labels.push("Week " + i);
}

Leave a comment