2016-11-02 20:45:11 +01:00
|
|
|
/* globals google, accountIds, budgetYearOverviewUri */
|
2015-12-04 06:56:59 +01:00
|
|
|
|
2016-06-27 16:11:49 +02:00
|
|
|
var chartDrawn;
|
|
|
|
var budgetChart;
|
2015-06-27 16:00:50 +02:00
|
|
|
$(function () {
|
|
|
|
"use strict";
|
2016-06-27 16:11:49 +02:00
|
|
|
chartDrawn = false;
|
2015-08-01 07:22:48 +02:00
|
|
|
drawChart();
|
2015-12-03 14:52:10 +01:00
|
|
|
|
2016-11-02 20:45:11 +01:00
|
|
|
loadAjaxPartial('budgetOverview',budgetYearOverviewUri);
|
2015-06-27 16:00:50 +02:00
|
|
|
});
|
2015-03-04 20:47:00 +01:00
|
|
|
|
2015-05-08 17:13:49 +02:00
|
|
|
function drawChart() {
|
2015-05-24 20:41:14 +02:00
|
|
|
"use strict";
|
2015-03-04 20:47:00 +01:00
|
|
|
|
2016-02-18 10:04:53 +01:00
|
|
|
lineChart('chart/report/net-worth/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'net-worth');
|
2015-12-14 20:37:38 +01:00
|
|
|
columnChart('chart/report/in-out/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-chart');
|
|
|
|
columnChart('chart/report/in-out-sum/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-sum-chart');
|
2016-04-24 20:00:20 +02:00
|
|
|
|
2016-10-30 18:29:26 +01:00
|
|
|
|
2015-03-10 17:26:31 +01:00
|
|
|
}
|