dimension.elements
Returns the elements in a dimension within the specified model.
This function is used to retrieve the elements in a dimension, returns a JSON string object
js
dimension.elements(dimension_name, offset, count)
dimension.elements(dimension_name, offset, count)
Parameters
dimension_name
- Name of a dimension.offset
- Number of elements to exclude.count
- Number of elements to retrieve after the offset.
Example
js
let elements = JSON.parse(dimension.elements("time", 1, 5));
let elements = JSON.parse(dimension.elements("time", 1, 5));