Files
firefly-iii/public/assets/javascript/firefly/accounts.js

12 lines
455 B
JavaScript
Raw Normal View History

2014-07-27 20:29:58 +02:00
$(function () {
2014-10-30 18:06:29 +01:00
if (typeof(googleLineChart) == "function" && typeof accountID != 'undefined') {
2014-10-30 18:06:29 +01:00
googleLineChart('chart/account/' + accountID, 'overview-chart');
}
//
if (typeof(googleSankeyChart) == 'function' && typeof accountID != 'undefined') {
googleSankeyChart('chart/sankey/' + accountID + '/out', 'account-out-sankey');
googleSankeyChart('chart/sankey/' + accountID + '/in', 'account-in-sankey');
2014-10-30 18:06:29 +01:00
}
});