mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-21 03:39:00 +00:00
12 lines
455 B
JavaScript
12 lines
455 B
JavaScript
$(function () {
|
|
|
|
if (typeof(googleLineChart) == "function" && typeof accountID != 'undefined') {
|
|
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');
|
|
}
|
|
|
|
}); |