Files
firefly-iii/public/js/ff/reports/default/year.js
2016-11-12 19:22:03 +01:00

22 lines
633 B
JavaScript

/* globals google, accountIds, budgetYearOverviewUri */
var chartDrawn;
var budgetChart;
$(function () {
"use strict";
chartDrawn = false;
drawChart();
loadAjaxPartial('budgetOverview',budgetYearOverviewUri);
});
function drawChart() {
"use strict";
lineChart('chart/report/net-worth/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'net-worth');
columnChart('chart/report/in-out/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-chart');
columnChart('chart/report/in-out-sum/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-sum-chart');
}