Files
firefly-iii/public/js/ff/reports/default/multi-year.js
2016-11-06 16:17:22 +01:00

19 lines
636 B
JavaScript

/* globals budgetMultiUri, accountIds */
$(function () {
"use strict";
drawChart();
loadAjaxPartial('budgetMultiYear', budgetMultiUri);
});
function drawChart() {
"use strict";
// income and expense over multi year:
lineChart('chart/report/net-worth/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'net-worth');
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');
}