diff --git a/src/module.html b/src/module.html
index e893738..052468a 100644
--- a/src/module.html
+++ b/src/module.html
@@ -3,8 +3,8 @@
diff --git a/src/pictureit_ctrl.js b/src/pictureit_ctrl.js
index dbfcb1f..992189e 100644
--- a/src/pictureit_ctrl.js
+++ b/src/pictureit_ctrl.js
@@ -20,7 +20,7 @@ export class PictureItCtrl extends MetricsPanelCtrl {
constructor($scope, $injector) {
super($scope, $injector);
_.defaults(this.panel, panelDefaults);
-
+ this.sensorValues = new Object();
this.unitFormats = kbn.getUnitFormats();
this.events.on('init-edit-mode', this.onInitEditMode.bind(this));
@@ -30,10 +30,11 @@ export class PictureItCtrl extends MetricsPanelCtrl {
}
onDataReceived(dataList) {
+ this.sensorValues = new Object();
var dataListLength = dataList.length;
- this.panel.valueMaps=[];
for (var series=0;series