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