mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 18:58:07 +00:00
Even more charts and tables.
This commit is contained in:
@@ -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();
|
||||
//}
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user