getService();
The getService method returns service object to work with express report.
The method returns an object of the PP.Exp.EaxMdService type.
Executing the example requires that the HTML page contains the EaxBubbleChart component named bubbleChart (see the Example of Creating the EaxBubbleChart Component page): that is, the Show Express Report Bubble Chart button must be pressed on this page. Get a service for working with express report via the bubble chart and process the BubbleChartLoaded event:
// Get a service used to work with express report var service = eaxBubbleChart.getService(); // Handle the BubbleChartLoaded event service.BubbleChartLoaded.add(function (sender, args) { // Create a bubble chart wizard this.showBubbleChartMaster() }); // Call the BubbleChartLoaded event service.BubbleChartLoaded.fire(this);
After executing the example after calling the bubble chart load event the browser console displays an appropriate message, the wizard of this bubble chart is also added to the HTML page:
See also: