CustomAnalysisWizard Constructor

Syntax

PP.TS.Ui.CustomAnalysisWizard(settings: Object);

Parameters

settings. JSON object that contains values of class properties.

Description

The CustomAnalysisWizard constructor creates an instance of the CustomAnalysisWizard class.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Create a data validation wizard that validates data by performing custom time series analysis and place it in a separate dialog box:

/* Create a wizard for data validation 
   by performing custom time series analysis */
var customAnalysisWizard = new PP.TS.Ui.CustomAnalysisWizard({
    Source: workbookBox.getSource() // Data source
});
// Get DOM tree for this wizard
var dom = customAnalysisWizard.getDomNode();
// Set wizard style
PP.addClass(dom, "PPValidationSettingsDlgContent");
// Place the created wizard in the dialog
var dialog = new PP.Ui.Dialog({
    Caption: "Comparison by expression",
    Content: customAnalysisWizard,
    Width: 780, // Dialog width	
});
// Display dialog
dialog.show();

After executing the example data validation wizard that validates data by performing custom time series analysis is created and placed in dialog box:

See also:

CustomAnalysisWizard