BubbleChartLoaded: function (sender, args);
sender. Event source.
args. Event information. Available arguments: Args - express report document, ResponseText - text sent by the server in response to this event.
The BubbleChartLoaded event occurs after loading an express report bubble chart.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and have a loaded bubble chart in working area of the express report. Handle the BubbleChartLoaded event and display information about the bubble chart:
// Get a service used to work with express report var eaxMdService = expressBox.getService(); // Handle the BubbleChartLoaded event eaxMdService.BubbleChartLoaded.add(function () { // Get express report document var eaxAnalyzer = expressBox.getSource(); var metadata = eaxMdService.getBubbleChart(eaxAnalyzer); if (metadata) { console.log("Object with information about express report bubble chart:"); console.log(metadata); } else { console.log("No information about express report bubble chart."); } });
After executing the example on handling the event that occurs after loading express report bubble chart, the browser console displays an object that contains bubble chart metadata, or a message informing that no information on the bubble chart is available.
See also: