Line chart

This commit is contained in:
James Cole 2017-03-18 07:46:14 +01:00
parent a25a499ed4
commit 68be58c9f2
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -8,11 +8,15 @@
* See the LICENSE file for details.
*/
/** global: budgetChartUri */
/** global: budgetChartUri,budgetLimitID */
$(function () {
"use strict";
columnChart(budgetChartUri, 'budgetOverview');
if (budgetLimitID > 0) {
lineChart(budgetChartUri, 'budgetOverview');
}
if (budgetLimitID == 0) {
columnChart(budgetChartUri, 'budgetOverview');
}
});