diff --git a/app/client/log.js b/app/client/log.js index 74f7b6d..176f481 100644 --- a/app/client/log.js +++ b/app/client/log.js @@ -4,7 +4,7 @@ function sensor_data_collection() { controllerId: controllerId }, { sort: { - created_at: -1 + created_at: 1 }, limit: 100 }); @@ -53,6 +53,7 @@ var createChart = function() { var heightOfElementsBefore = chartCanvas.getBoundingClientRect().top; chartCanvas.height = window.innerHeight - heightOfElementsBefore; var ctx = chartCanvas.getContext("2d"); +