getKeySerie (value);
value. Sets series index value.
The getKeySerie method returns series key by series index.
To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:
//Get series index var index = wbk.getSeries()[0].index; //Get series key by index var key = wbk.getKeySerie(index); alert("Series key by index "+index +": "+ key);
After executing the example a message containing key of the series with specified index appears in the screen.
See also: