Skip to main content

Interface: BrushFilterHandle

Defined in: packages/sdvplot/src/interact/brush.ts:36

A live brush: drive it programmatically, or remove it.

Methods​

destroy()​

destroy(): void

Defined in: packages/sdvplot/src/interact/brush.ts:43

Remove the overlay and stop following the store; clears its selection and predicate if this brush set them.

Returns​

void


move()​

move(region): void

Defined in: packages/sdvplot/src/interact/brush.ts:41

Brush a region in DATA coordinates, one range per brushed axis (null clears), as if the user had dragged it. Rows are tested against these exact bounds, never their pixel round trip: a row on a bound is inside.

Parameters​

region​

{ x?: readonly [unknown, unknown]; y?: readonly [unknown, unknown]; } | null

Returns​

void