API REFERENCE
CartesianBrushAreaInput
The CartesianBrushAreaInput type declaration and related types. Optional fields are marked with ?.
Type declaration
export type CartesianBrushAreaInput =
| { type?: 'rect'; x: CartesianBrushRange | readonly [number, number]; y: CartesianBrushRange | readonly [number, number] }
| { type: 'lasso'; points: ReadonlyArray<CartesianBrushPoint | readonly [number, number]> }
| { type: 'band'; axis: 'x' | 'y'; range: CartesianBrushRange | readonly [number, number] };