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