Workbook.getSerieDepth

Syntax

getSerieDepth(serie) : Number;

Parameters

serie. Object. Series object.

Description

The getSerieDepth method returns series nesting depth.

Example

Executing the example requires that HTML page contains the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component).

// Get first series nesting level
serie = wbk.getSeries()[1];
wbk.getSerieDepth(serie);

After executing the example the first series nesting level is obtained.

See also:

Workbook