WbkPropertyBarView.getGaugeMaster

Syntax

getGaugeMaster(gaugeView: PP.Exp.Ui.GaugeBox);

Parameters

gaugeView. Component for speedometer displaying.

Description

The getGaugeMaster method returns speedometer setup wizard.

Comments

The method returns an object of the PP.Ui.GaugeMaster type.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and all the workbook views must be displayed. Get speedometer setup wizard and display it:

// Get workbook properties panel
propertyBarView = workbookBox.getPropertyBarView();
// Hide all wizards
propertyBarView.hideAllMasters();
// Get workbook view data
book = workbookBox.getDataView();
// Get speedometer view
gauge = book.getGaugeView();
// Determine speedometer setup wizard variable
gaugeMaster = propertyBarView.getGaugeMaster(gauge);
// Display speedometer wizard
gaugeMaster.show();

After executing the example the speedometer setup wizard is obtained and displayed in the workbook side panel.

See also:

WbkPropertyBarView