2014-07-27 20:29:58 +02:00
|
|
|
$(function () {
|
2014-10-30 18:06:29 +01:00
|
|
|
|
2014-11-28 07:40:04 +01:00
|
|
|
if (typeof(googleLineChart) == "function" && typeof accountID != 'undefined' && typeof view != 'undefined') {
|
|
|
|
googleLineChart('chart/account/' + accountID + '/' + view, 'overview-chart');
|
2014-10-30 18:06:29 +01:00
|
|
|
}
|
|
|
|
//
|
2014-11-28 07:40:04 +01:00
|
|
|
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');
|
2014-10-30 18:06:29 +01:00
|
|
|
}
|
|
|
|
|
2014-11-07 11:18:06 +01:00
|
|
|
});
|