mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
New budget charts for year report.
This commit is contained in:
@@ -3,5 +3,11 @@ if (typeof(google) != 'undefined') {
|
||||
function drawChart() {
|
||||
googleColumnChart('chart/reports/income-expenses/' + year, 'income-expenses-chart');
|
||||
googleColumnChart('chart/reports/income-expenses-sum/' + year, 'income-expenses-sum-chart')
|
||||
|
||||
$.each($('.budgets'), function (i, v) {
|
||||
var holder = $(v);
|
||||
var id = holder.data('id');
|
||||
googleColumnChart('chart/budget/' + id + '/spending/' + year, 'budgets-' + id);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user