# getDrawingLayer

the drawing overlay as a positioned SVG layer (null without drawings): what `getSVG` / `exportSVG` / `exportPNG` compose into the image.

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

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

## Definition

```typescript
getDrawingLayer(): Promise<DrawingLayerSnapshot | null>
```

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

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

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

## Related charts

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