mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Some cleaning up and more charts.
This commit is contained in:
@@ -28,6 +28,15 @@ function drawChart() {
|
||||
|
||||
});
|
||||
|
||||
// and another loop
|
||||
$.each($('.category_year_chart'), function (i, v) {
|
||||
var holder = $(v);
|
||||
var id = holder.attr('id');
|
||||
var categoryId = holder.data('category');
|
||||
columnChart('chart/category/period/' + categoryId + '/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, id);
|
||||
|
||||
});
|
||||
|
||||
//stackedColumnChart('chart/budget/year/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'budgets');
|
||||
stackedColumnChart('chart/category/spent-in-period/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'categories-spent-in-period');
|
||||
stackedColumnChart('chart/category/earned-in-period/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'categories-earned-in-period');
|
||||
|
||||
Reference in New Issue
Block a user