# getBrush

the persisted brush areas (primary data space).

Canonical: https://chart.syidax.com/docs/methods/getBrush/

<a id="definition"></a>

## Definition

```typescript
getBrush(): Promise<CartesianBrushArea[]>
```

Return type: `Promise<CartesianBrushArea[]>`. Call the method after element registration and await its Promise result.

- [CartesianBrushArea](https://chart.syidax.com/docs/types/CartesianBrushArea.md) — Type definition

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

## Related charts

- [sy-line-chart](https://chart.syidax.com/docs/components/line.md#method-getBrush)
- [sy-area-chart](https://chart.syidax.com/docs/components/area.md#method-getBrush)
- [sy-column-chart](https://chart.syidax.com/docs/components/column.md#method-getBrush)
- [sy-bar-chart](https://chart.syidax.com/docs/components/bar.md#method-getBrush)
- [sy-scatter-chart](https://chart.syidax.com/docs/components/scatter.md#method-getBrush)
