EaxMdService.generateModeling

Syntax

generateProblem(report, callback);

Parameters

report. PP.Exp.EaxAnalyzer. Report.

callback. PP.Delegate. Callback function.

Description

The generateModeling method sends a request for modeling problem generation.

Comments

The method implements logic of pressing the Modeling and Forecasting button on the tool ribbon.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). The report should be based on a time series database.

// Set event handler that displays server response in the console
callback = function(sender, args) {
  console.log(args.Response);
};
// Send request for workbook generation
eaxMdService.generateWbk(eaxAnalyzer, callback);

After executing the example the browser console displays a JSON object containing server response for workbook generation.

See also:

EaxMdService