Reports API Events
load:data
Fires when the report data has loaded.
You would want to be notified about this event firing to save the data in your own application or use the data to render a custom report, for example.
Examples
reportsApp.getReport('my-report-id').on('load:data', function (reportData) {
console.log('This code executes when the report data has loaded.');
console.log(reportData);
});
Callback arguments
-
reportData object
The JSON data for this report.