Chartjs-Why is Chart.JS linking my start and end nodes in the line chart?

0👍

Solved question by sorting my tdata array by date.

tdata.sort(function(a,b){
        return new Date(a.x) - new Date(b.x)
})

Leave a comment