sensordata now left to right
This commit is contained in:
@@ -4,7 +4,7 @@ function sensor_data_collection() {
|
|||||||
controllerId: controllerId
|
controllerId: controllerId
|
||||||
}, {
|
}, {
|
||||||
sort: {
|
sort: {
|
||||||
created_at: -1
|
created_at: 1
|
||||||
},
|
},
|
||||||
limit: 100
|
limit: 100
|
||||||
});
|
});
|
||||||
@@ -53,6 +53,7 @@ var createChart = function() {
|
|||||||
var heightOfElementsBefore = chartCanvas.getBoundingClientRect().top;
|
var heightOfElementsBefore = chartCanvas.getBoundingClientRect().top;
|
||||||
chartCanvas.height = window.innerHeight - heightOfElementsBefore;
|
chartCanvas.height = window.innerHeight - heightOfElementsBefore;
|
||||||
var ctx = chartCanvas.getContext("2d");
|
var ctx = chartCanvas.getContext("2d");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user