ModellingGenerated: function (sender, args)
sender. Event source.
args. Event information.
The ModelingGenerated event occurs after creating an object by means of the Modeling and Forecasting button.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Open the Advanced Analytics tab in the report and enter the following code in the console:
// Get tool ribbon ribbon = expressBox.getRibbonView(); // Get the Advanced Analytics tab analyticCat = ribbon.getAnalyticsCategory(); // Add event analyticCat.TimeSeriesGenerated.add(function(sender, args){ console.log(args); });
After executing the example the event is added.
See also: