Even more charts and tables.

This commit is contained in:
Sander Dorigo
2014-10-30 18:06:29 +01:00
parent ad479a5c7f
commit ffcd1fde0f
7 changed files with 428 additions and 22 deletions

View File

@@ -1,10 +1,24 @@
$(function () {
if (typeof(googleLineChart) == "function") {
googleLineChart('chart/account/' + accountID, 'overview-chart');
}
//
if(typeof(googleSankeyChart) == 'function') {
googleSankeyChart('chart/sankey/' + accountID + '/out','account-out-sankey');
googleSankeyChart('chart/sankey/' + accountID + '/in','account-in-sankey');
}
if(typeof(googleTable) == 'function') {
googleTable('table/account/' + accountID + '/transactions','account-transactions');
}
if ($('#accountTable').length == 1) {
drawDatatable();
}
if ($('#overviewChart').length == 1) {
drawOverviewChart();
}
//if ($('#overviewChart').length == 1) {
// drawOverviewChart();
//}
});