mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
21 lines
705 B
JavaScript
21 lines
705 B
JavaScript
/* globals google, accountIds, budgetPeriodReportUri, categoryPeriodReportUri */
|
|
|
|
$(function () {
|
|
"use strict";
|
|
drawChart();
|
|
|
|
loadAjaxPartial('budgetPeriodReport', budgetPeriodReportUri);
|
|
loadAjaxPartial('categoryExpense', categoryExpenseUri);
|
|
loadAjaxPartial('categoryIncome', categoryIncomeUri);
|
|
});
|
|
|
|
function drawChart() {
|
|
"use strict";
|
|
|
|
lineChart('chart/report/net-worth/' + 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');
|
|
|
|
|
|
}
|