Files
firefly-iii/public/js/ff/reports/default/multi-year.js

28 lines
742 B
JavaScript
Raw Normal View History

/*
* multi-year.js
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
$(function () {
"use strict";
drawChart();
2016-11-19 07:27:54 +01:00
loadAjaxPartial('budgetPeriodReport', budgetPeriodReportUri);
2016-12-06 09:07:50 +01:00
loadAjaxPartial('categoryExpense', categoryExpenseUri);
loadAjaxPartial('categoryIncome', categoryIncomeUri);
});
2015-05-08 17:13:49 +02:00
function drawChart() {
2015-05-24 20:41:14 +02:00
"use strict";
2015-12-14 21:12:10 +01:00
// income and expense over multi year:
2016-12-06 09:07:50 +01:00
lineChart(netWorthUri, 'net-worth');
columnChart(opChartUri, 'income-expenses-chart');
columnChart(sumChartUri, 'income-expenses-sum-chart');
}