Chart.js data goes backwards when retroactively pushing datapoint from HTTP request using Angular

0👍

Chartjs will draw the line based in the index of the item, so if the items you added as last are on the end of the array this is the right behaviour, to get the behaviour you want you will have to insert the values into the right place in the array

Leave a comment