Updated chart, closed magic number issue.

This commit is contained in:
James Cole
2015-01-24 08:43:35 +01:00
parent 4ad67a87f1
commit f231263085
5 changed files with 25 additions and 29 deletions

View File

@@ -8,7 +8,7 @@ $(function () {
if (typeof budgetID != 'undefined' && typeof repetitionID == 'undefined') {
googleColumnChart('chart/budget/' + budgetID + '/spending/' + year, 'budgetOverview');
googleColumnChart('chart/budget/' + budgetID + '/spending', 'budgetOverview');
}
if (typeof budgetID != 'undefined' && typeof repetitionID != 'undefined') {
googleLineChart('chart/budget/' + budgetID + '/' + repetitionID, 'budgetOverview');