Workbook.getRootSeriesCount

Syntax

getRootSeriesCount() : Number;

Description

The getRootSeriesCount method returns the number of root series.

Comments

Root series is a series without a parent.

Example

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

// Get number of root series
wbk.getRootSeriesCount();
// -> 3

After executing the example the number of root series is obtained.

See also:

Workbook