# importDrawings

replace the drawing document from an envelope / list / JSON string.

Canonical: https://chart.syidax.com/ko/docs/methods/importDrawings/

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

## 정의

```typescript
importDrawings(input: ChartDrawingsInput): Promise<DrawingsChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `input` | `ChartDrawingsInput` | 필수 |

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

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

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

## 관련 차트

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