Skip to content

Commit c70333e

Browse files
author
Jay Mathis
committed
minor UX changes
1 parent 36e2f9e commit c70333e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

app/controllers/view.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
function (response) {
196196
$scope.report_rows = response.data;
197197

198-
//console.log($scope.report_rows);
198+
//console.log('get report', $scope.report_rows);
199199

200200
$scope.pie_chart_labels = [];
201201
$scope.pie_chart_data = [];
@@ -226,9 +226,12 @@
226226
};
227227

228228
$scope.$on('chart-create', function (evt, chart) {
229-
if (chart.id === 'line') {
229+
//console.log('chart-create', chart);
230+
if (chart.canvas.id === 'line') {
231+
//console.log('before create', $scope.report_rows);
230232
$scope.chart = chart;
231233
$scope.chart.update();
234+
//console.log('after create', $scope.report_rows);
232235
}
233236
});
234237

app/views/view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<hr />
5050
</div>
5151

52-
<h3>Visit Breakdown</h3>
52+
<h3>Data Analysis</h3>
5353
<div class="row">
5454
<div class="col">
5555
<div class="form-group">

0 commit comments

Comments
 (0)