getRootSeriesCount() : Number;
The getRootSeriesCount method returns the number of root series.
Root series is a series without a parent.
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: