From d16c3a2daaf575839aa154bdf6e4df4761929822 Mon Sep 17 00:00:00 2001 From: lasantha Date: Thu, 22 Jun 2017 12:45:29 +0530 Subject: [PATCH] Removing unnecessary log prints --- .../public/js/android_sense.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.analytics-view/public/js/android_sense.js b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.analytics-view/public/js/android_sense.js index 5978a2ff7..3de2154aa 100644 --- a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.analytics-view/public/js/android_sense.js +++ b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.analytics-view/public/js/android_sense.js @@ -228,7 +228,6 @@ function drawGraph_android_sense(from, to) { } var chartData = []; - console.log(data.length); for (var i = 0; i < data.length; i++) { chartData.push( { @@ -301,10 +300,8 @@ function drawGraph_android_sense(from, to) { graphConfig.series[deviceIndex].data = chartData; } else { var chartDataX = [], chartDataY = [], chartDataZ = []; - console.log(data.length); for (var i = 0; i < data.length; i++) { if (data[i].values.axis==="X"){ - console.log(new Date(parseInt(data[i].values.meta_timestamp)- tzOffset)); chartDataX.push( { x: parseInt(((data[i].values.meta_timestamp) - tzOffset)/1000),