Class: CubeLevel

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

QuickNav

Fields


CubeLevel

Version:
  • 7.1.0
Since:
  • 1.1.0
Module:
  • ojcube

Module usage

See JET Module Loading for an overview of module usage within JET.

Javascript Import Format
define(['ojs/ojcube'], function(cube) {
 // Application should call API on cube.CubeLevel 
})

Description

Represents a level within an axis. The level is tied to an attribute within the original rowset. Each level contains a number of oj.CubeAxisValues, all from the same attribute

Fields

attribute :string

The rowset attribute this level represents

axis :number

The axis this level is a member of

Methods

getValue(index) → {oj.CubeAxisValue}

Return the oj.CubeAxisValue at the given index within this level
Parameters:
Name Type Description
index number the axis index for which to get the value
Returns:
the value at the given location within the level
Type
oj.CubeAxisValue

isDataValue() → {boolean}

Does this level represent the data values within the cube?
Returns:
true if this level does represent the data values within the cube; false otherwise
Type
boolean