API REFERENCE
setBrush
replace the brush areas of the active cartesian family (null clears).
Definition
setBrush(areas: ReadonlyArray<CartesianBrushAreaInput> | null): Promise<CartesianBrushChangeEventDetail | null>| Arguments | Type | Required |
|---|---|---|
areas | ReadonlyArray<CartesianBrushAreaInput> | null | Required |
Return type: Promise<CartesianBrushChangeEventDetail | null>. Call the method after element registration and await its Promise result.
- CartesianBrushChangeEventDetail
Type definition
- CartesianBrushAreaInput
Type definition