isSerieSelected(serieKey) : Boolean;
serieKey. Number. Series key.
The isSerieSelected method determines whether a series is selected.
Executing the example requires that HTML page contains the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component).
// Get first series key serie = wbk.getSeries()[0]; key = serie.k; // Get whether series is selected console.log(wbk.isSerieSelected(key)? "First series is selected" : "First series is not selected");
After executing the example it is determined whether the first series is selected.
See also: