WbkDataView.getGaugeView

Syntax

getGaugeView();

Description

The getGaugeView method returns speedometer container.

Comments

It returns an instance of the PP.Exp.Ui.GaugeBox class.

Example

To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component) and a speedometer located on it. Get speedometer container:

// Get displaying of workbook data
book = workbookBox.getDataView();
// Get speedometer container
gauge = book.getGaugeView();
// Get container identifier
gauge.getId();

After executing the example speedometer container is obtained. The browser console displays a message with container identifier.

See also:

WbkDataView