2016-12-23 07:02:45 +01:00
|
|
|
/*
|
|
|
|
* show.js
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
|
|
|
*
|
|
|
|
* See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2017-03-18 07:46:14 +01:00
|
|
|
/** global: budgetChartUri,budgetLimitID */
|
2017-01-02 08:30:20 +01:00
|
|
|
|
2015-05-24 22:54:59 +02:00
|
|
|
$(function () {
|
2015-05-24 18:22:41 +02:00
|
|
|
"use strict";
|
2017-03-18 07:46:14 +01:00
|
|
|
if (budgetLimitID > 0) {
|
|
|
|
lineChart(budgetChartUri, 'budgetOverview');
|
|
|
|
}
|
|
|
|
if (budgetLimitID == 0) {
|
|
|
|
columnChart(budgetChartUri, 'budgetOverview');
|
|
|
|
}
|
2015-02-22 09:46:21 +01:00
|
|
|
|
2015-05-24 22:54:59 +02:00
|
|
|
});
|