TSService.editSeriesView

Syntax

editSeriesView(wbk, series, callback);

Parameters

wbk. PP.TS.Workbook. Sets workbook

series. Array. Sets series array.

callback. PP.Delegate. Sets handler for operation execution end.

Description

The editSeriesView method changes series display settings.

Example

To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component).

// Get first series
serie = wbk.getSelectedSeries()[0];
// Change series value
serie.n = "New series name";
series = [serie];
// Apply settings
tsService.editSeriesView(wbk, series);
workbookBox.refreshAll();

After executing the example the series name is changed.

See also:

TSService