PP.TS.Ui.CrossFrequencyWizard(settings: Object);
settings. JSON object that contains values of class properties.
The CrossFrequencyWizard constructor creates an instance of the CrossFrequencyWizard class.
To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Create and place in the dialog box the data validation wizard that validates data by comparing frequency levels of its time series in a separate dialog:
/* Create a wizard for data validation by comparing time series frequency levels */ var crossFrequencyWizard = new PP.TS.Ui.CrossFrequencyWizard({ Source: workbookBox.getSource() // Data source }); // Get DOM tree for this wizard var dom = crossFrequencyWizard.getDomNode(); // Set wizard style PP.addClass(dom, "PPValidationSettingsDlgContent"); // Set a list of available levels crossFrequencyWizard.selLevels([ PP.TS.Ui.DimCalendarLvl.Year, // Years PP.TS.Ui.DimCalendarLvl.Quarter, // Quarters PP.TS.Ui.DimCalendarLvl.Month // Months ]); // Add the created wizard to the dialog var dialog = new PP.Ui.Dialog({ Caption: "Frequency level comparison wizard", Content: crossFrequencyWizard, Width: 800 // Dialog width }); // Display this dialog dialog.show();
After executing the example the data validation wizard that validates data by comparing frequency levels of its time series, is created and placed in the dialog box:
See also: