Home > @i2analyze/notebook-sdk > app > ISelectionEditor > set
app.ISelectionEditor.set() method
Replaces the chart selection with one that contains the specified records.
Signature:
set(records: Iterable<RecordSpecifier> | RecordSpecifier): void;
Introduced: version 1.1
Parameters
| Parameter | Type | Description |
|---|---|---|
| records | Iterable<RecordSpecifier> | RecordSpecifier | The records to use in the new selection. |
Returns:
void
Exceptions
Error if one or more of the records does not exist on the chart.