Files
firefly-iii/public/assets/javascript/firefly/reports.js

13 lines
529 B
JavaScript
Raw Normal View History

2014-12-04 20:38:45 +01:00
if (typeof(google) != 'undefined') {
google.setOnLoadCallback(drawChart);
function drawChart() {
googleColumnChart('chart/reports/income-expenses/' + year, 'income-expenses-chart');
googleColumnChart('chart/reports/income-expenses-sum/' + year, 'income-expenses-sum-chart')
2015-01-24 08:54:33 +01:00
$.each($('.budgets'), function (i, v) {
var holder = $(v);
var id = holder.data('id');
googleColumnChart('chart/budget/' + id + '/spending/' + year, 'budgets-' + id);
});
2014-12-04 20:38:45 +01:00
}
2014-11-02 18:46:01 +01:00
}