Workbook.getGaugePeriodDim

Syntax

getGaugePeriodDim();

Description

The getGaugePeriodDim method returns speedometer calendar dictionary.

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 calendar dictionary and its identifier:

// Get data source 
source = workbookBox.getSource();
// Get active sheet - instance of the PP.TS.Workbook class
sheet = source.getActiveSheet();
// Get speedometer calendar dictionary
calend = sheet.getGaugePeriodDim();
// Get dictionary identifier
calend.getId();

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

See also:

Workbook