|
|
@ -20,7 +20,7 @@ function onRequest(context) {
|
|
|
|
var log = new Log("stats.js");
|
|
|
|
var log = new Log("stats.js");
|
|
|
|
var carbonServer = require("carbon").server;
|
|
|
|
var carbonServer = require("carbon").server;
|
|
|
|
var device = context.unit.params.device;
|
|
|
|
var device = context.unit.params.device;
|
|
|
|
// log.error(session);
|
|
|
|
|
|
|
|
// graph configuration
|
|
|
|
// graph configuration
|
|
|
|
var graphData = {
|
|
|
|
var graphData = {
|
|
|
|
Sensors:["accelerometer","magnetic", "gravity", "pressure", "proximity", "gyroscope"],
|
|
|
|
Sensors:["accelerometer","magnetic", "gravity", "pressure", "proximity", "gyroscope"],
|
|
|
|