# 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/ko/docs/methods/getDrawingLayer/

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

## 정의

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

반환 타입: `Promise<DrawingLayerSnapshot | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [DrawingLayerSnapshot](https://chart.syidax.com/ko/docs/types/DrawingLayerSnapshot.md) — 타입 정의

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

## 관련 차트

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