[Chartjs]-Can't figure out how to skip first datapoint on the x-axis and labels on X-axis skip second-to-last datapoint with Chart.js

1👍

Having less data points clears up the issues quite a bit:

var x_vals = [];
var y_vals = [];
for (var i=0;i<=360;i++) {
    if ((i % 30) == true) {
        x_vals.push(i-1);
    y_vals.push(1000-i-1);
    }
}

It may be that ChartJS is trying to calculate too many points …

Leave a comment