Home > @i2analyze/notebook-sdk > visual > IBrushSet > set
visual.IBrushSet.set() method
Sets the brush index for a single record.
Signature:
set(record: app.RecordSpecifier, index: BrushIndex): void;
Introduced: version 1.9
Parameters
| Parameter | Type | Description |
|---|---|---|
| record | app.RecordSpecifier | The record, or the identifier of the record. |
| index | BrushIndex | The brush index to assign to the record. |
Returns:
void
Exceptions
Error if the record does not exist on the chart.