# getVisualMap

An asynchronous method. Check the argument and return types below.

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

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

## Definition

```typescript
getVisualMap(): Promise<VisualMapBinding | null>
```

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

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

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

## Related charts

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