DimUnitsEls: DimElementsSelectionInfo;
The DimUnitsEls property sets elements of the Measurement Units dimension.
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: