From 29b1c060760d77cc2b49829f615e1442698f2980 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Sat, 6 Jun 2015 18:14:07 -0400 Subject: added a full screen option for montage view too - no status bars and sliders --- www/js/EventsGraphsCtrl.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'www/js/EventsGraphsCtrl.js') 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 = []; -- cgit v1.2.3