mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
12 lines
554 B
JavaScript
12 lines
554 B
JavaScript
$(function () {
|
|
|
|
if (typeof(googleLineChart) == "function" && typeof accountID != 'undefined' && typeof view != 'undefined') {
|
|
googleLineChart('chart/account/' + accountID + '/' + view, 'overview-chart');
|
|
}
|
|
//
|
|
if (typeof(googleSankeyChart) == 'function' && typeof accountID != 'undefined' && typeof view != 'undefined') {
|
|
googleSankeyChart('chart/sankey/' + accountID + '/out' + '/' + view, 'account-out-sankey');
|
|
googleSankeyChart('chart/sankey/' + accountID + '/in' + '/' + view, 'account-in-sankey');
|
|
}
|
|
|
|
}); |