Workbook.DimUnitsEls

Syntax

DimUnitsEls: DimElementsSelectionInfo;

Description

The DimUnitsEls property sets elements of the Measurement Units dimension.

Example

To execute the example, create a service for working with time series (see Workbook.Hier) and add the following code in the handler that processes document opening:

	console.log("Get elements from the Unit dimension");
	var unitEls = wbk.setDimUnitsEls(3);
	var dimUnitEls = wbk.getDimUnitsEls(unitEls);
	console.log(dimUnitEls);

After executing the example elements of the Unit dimension are obtained and displayed to the browser console:

Getting Unit dimension elements

3

See also:

Workbook