sensordata now left to right

This commit is contained in:
Senad Uka
2017-06-04 16:02:26 +02:00
parent f6e9d79e4b
commit 620c69d1a0

View File

@@ -4,7 +4,7 @@ function sensor_data_collection() {
controllerId: controllerId controllerId: controllerId
}, { }, {
sort: { sort: {
created_at: -1 created_at: 1
}, },
limit: 100 limit: 100
}); });
@@ -56,6 +56,7 @@ var createChart = function() {
// Set the options // Set the options
var options = { var options = {