2014-07-30 14:45:46 +02:00
|
|
|
$(function () {
|
|
|
|
|
2014-11-10 19:03:03 +01:00
|
|
|
if (typeof googleTable == 'function') {
|
|
|
|
googleTable('table/categories', 'category-list');
|
2014-11-10 21:55:22 +01:00
|
|
|
if (typeof(componentID) != 'undefined') {
|
|
|
|
googleTable('table/component/' + componentID + '/0/transactions','transactions');
|
2014-11-10 19:03:03 +01:00
|
|
|
|
2014-11-10 21:55:22 +01:00
|
|
|
if (typeof googleColumnChart == 'function') {
|
|
|
|
googleColumnChart('chart/component/' + componentID + '/spending/' + year, 'componentOverview');
|
|
|
|
}
|
2014-11-10 19:03:03 +01:00
|
|
|
|
2014-11-10 21:55:22 +01:00
|
|
|
}
|
2014-11-10 19:03:03 +01:00
|
|
|
}
|
2014-07-30 14:45:46 +02:00
|
|
|
|
|
|
|
|
2014-11-10 21:55:22 +01:00
|
|
|
|
|
|
|
|
2014-07-30 14:45:46 +02:00
|
|
|
});
|