summaryrefslogtreecommitdiff
path: root/www/templates/events-graphs.html
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-16 15:06:41 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-16 15:06:41 -0400
commit89640e9b0212a2525ea132b1d11bb8962f5444dd (patch)
tree22ad88bf288fb83234378d2cbe16dae71b5cb7b4 /www/templates/events-graphs.html
parent61afc8d7011f8a741b2583708ac1834e8eec44c2 (diff)
general formatting
Diffstat (limited to 'www/templates/events-graphs.html')
-rw-r--r--www/templates/events-graphs.html28
1 files changed, 16 insertions, 12 deletions
diff --git a/www/templates/events-graphs.html b/www/templates/events-graphs.html
index 84aea168..2d488170 100644
--- a/www/templates/events-graphs.html
+++ b/www/templates/events-graphs.html
@@ -7,18 +7,20 @@
<!-- I'm calling the same controller function but with different parameters when
you switch between tabs -->
- <!-- All Events view -->
-
<!-- Oddly, unless I add a "div ng-controller" before each canvas
onClick handler does not work
-->
+ <!-- All Events view -->
+
<ion-tabs class="tabs-icon-top tabs-stable">
<ion-tab title="All" icon="ion-stats-bars" on-select="generateTCChart(0,'All Events',0)">
<ion-nav-view>
<ion-content class="has-header">
<div ng-controller="zmApp.EventsGraphsCtrl">
- <canvas tc-chartjs-bar chart-data="chart.data" chart-options="chart.options" ng-click="handleChartClick($event)" chart="chartwithbars">
+ <canvas tc-chartjs-bar chart-data="chart.data"
+ chart-options="chart.options"
+ ng-click="handleChartClick($event)" chart="chartwithbars">
</canvas>
</div>
</ion-content>
@@ -32,8 +34,10 @@
<ion-content>
<div ng-controller="zmApp.EventsGraphsCtrl">
<div style="overflow:scroll;">
- <canvas tc-chartjs-bar chart-data="chart.data" chart-options="chart.options"
- ng-click="handleChartClick($event)" chart="chartwithbars">
+ <canvas tc-chartjs-bar chart-data="chart.data"
+ chart-options="chart.options"
+ ng-click="handleChartClick($event)"
+ chart="chartwithbars">
</canvas>
</div>
</div>
@@ -64,16 +68,16 @@
<ion-nav-view>
<ion-content>
<div ng-controller="zmApp.EventsGraphsCtrl">
- <div style="overflow:scroll;">
- <canvas tc-chartjs-bar chart-data="chart.data"
- chart-options="chart.options" chart="chartwithbars"
- ng-click="handleChartClick($event)">
- </canvas>
- </div>
+ <div style="overflow:scroll;">
+ <canvas tc-chartjs-bar chart-data="chart.data"
+ chart-options="chart.options"
+ chart="chartwithbars"
+ ng-click="handleChartClick($event)">
+ </canvas>
+ </div>
</div>
</ion-content>
</ion-nav-view>
</ion-tab>
</ion-tabs>
-
</ion-view>