getRatioWizard();
The getRatioWizard method returns the data validation wizard that validates time series data by comparing observations ratio.
This method returns an object of the PP.TS.Ui.RatioWizard type.
Executing this example requires the ValidationSettingsDialog component named validationSettingsDialog (see Example of creating the ValidationSettingsDialog component). Show the data validation wizard that compares observations ratio in a specific dialog box:
// Get wizard for data validation by time series growth rate analysis var ratioWizard = validationSettingsDialog.getRatioWizard(); // Get DOM tree for this wizard var dom = ratioWizard.getDomNode(); // Set wizard style PP.addClass(dom, "PPValidationSettingsDlgContent"); // Make wizard visible ratioWizard.show(); // Add the obtained wizard to the standard dialog var dialog = new PP.Ui.Dialog({ Caption: "Comparison of observation relation", // Dialog title Content: ratioWizard, // Dialog contents Width: 670, // Dialog width Height: 180 // Dialog height }); // Display this dialog dialog.show();
After executing the example the created dialog box shows wizard that validates data by comparing observations ratio:
See also: