# getVisualExtent

the extent of a dimension over the visible points (the domain a bound `sy-visual-map` adopts).

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

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

## Definition

```typescript
getVisualExtent(request?: VisualMapExtentRequest): Promise<VisualMapExtent | null>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `request` | `VisualMapExtentRequest` | Optional |

Return type: `Promise<VisualMapExtent | null>`. Call the method after element registration and await its Promise result.

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

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

## Related charts

- [sy-line-chart](https://chart.syidax.com/docs/components/line.md#method-getVisualExtent)
- [sy-area-chart](https://chart.syidax.com/docs/components/area.md#method-getVisualExtent)
- [sy-column-chart](https://chart.syidax.com/docs/components/column.md#method-getVisualExtent)
- [sy-bar-chart](https://chart.syidax.com/docs/components/bar.md#method-getVisualExtent)
- [sy-scatter-chart](https://chart.syidax.com/docs/components/scatter.md#method-getVisualExtent)
- [sy-bubble-chart](https://chart.syidax.com/docs/components/bubble.md#method-getVisualExtent)
- [sy-heatmap](https://chart.syidax.com/docs/components/heatmap.md#method-getVisualExtent)
- [sy-calendar-heatmap](https://chart.syidax.com/docs/components/calendar-heatmap.md#method-getVisualExtent)
- [sy-density-map](https://chart.syidax.com/docs/components/density-map.md#method-getVisualExtent)
- [sy-spectrogram](https://chart.syidax.com/docs/components/spectrogram.md#method-getVisualExtent)
