# CartesianBrushAreaInput

The CartesianBrushAreaInput type declaration and related types. Optional fields are marked with ?.

Canonical: https://chart.syidax.com/docs/types/CartesianBrushAreaInput/

<a id="declaration"></a>

## Type declaration

```typescript
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] };
```

<a id="related"></a>

## Related types

- [CartesianBrushRange](https://chart.syidax.com/docs/types/CartesianBrushRange.md)
- [CartesianBrushPoint](https://chart.syidax.com/docs/types/CartesianBrushPoint.md)
