Chartjs x-axis category label (with data from tabletop.js)

👍:-1

I’m very sorry for any troubles caused,
It was a typo that caused the error…. Managed to spot it.

for (var i = 0; i < data.length; i++) {
        if (xValues.indexOf(data[i].x) === -1) {
            xValues.push(data[i].y); // this should be x and not y.!

Thanks for those who responded..!

Leave a comment