EaxMdService.generateWbk

Syntax

generateWbk(report, callback);

Parameters

report. PP.Exp.EaxAnalyzer. Report.

callback. PP.Delegate. Callback function.

Description

The generateWbk method sends a query for workbook generation.

Comments

The method implements logic of pressing the Time Series Analysis 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