mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
19 lines
636 B
JavaScript
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');
|
|
}
|