summaryrefslogtreecommitdiff
path: root/www/js/EventsGraphsCtrl.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-06-06 18:14:07 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-06-06 18:14:07 -0400
commit29b1c060760d77cc2b49829f615e1442698f2980 (patch)
treec62ac4300262c2f278ac481f2b250e4f03eeca65 /www/js/EventsGraphsCtrl.js
parent41411b6201fa5e6ca0f78bb78073bbf525d4b573 (diff)
added a full screen option for montage view too - no status bars and sliders
Diffstat (limited to 'www/js/EventsGraphsCtrl.js')
-rw-r--r--www/js/EventsGraphsCtrl.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/js/EventsGraphsCtrl.js b/www/js/EventsGraphsCtrl.js
index 830528e3..b8bf7d97 100644
--- a/www/js/EventsGraphsCtrl.js
+++ b/www/js/EventsGraphsCtrl.js
@@ -34,6 +34,7 @@ angular.module('zmApp.controllers').controller('zmApp.EventsGraphsCtrl', ['$ioni
$scope.navTitle = 'Tab Page';
+ // $scope.chart="";
$scope.leftButtons = [{
type: 'button-icon icon ion-navicon',
tap: function (e) {
@@ -48,6 +49,16 @@ angular.module('zmApp.controllers').controller('zmApp.EventsGraphsCtrl', ['$ioni
console.log('****DOCUMENT READY******');
});
+ // FIXME: No idea why this is not working
+ // it seems it can't get a handle to chart
+ $scope.handleChartClick = function(event)
+ {
+
+ // console.log (JSON.stringify( $scope.chart1.getBarsAtEvent(event)));
+
+ };
+
+
$scope.generateTCChart = function(id,chartTitle, hrs)
{
var monitors = [];