# addPointToSeries

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

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

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

## 정의

```typescript
addPointToSeries(idOrIndex: string | number, point: number | ScatterChartDatum, opts?: { shift?: boolean; redraw?: boolean }): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `point` | `number \| ScatterChartDatum` | 필수 |
| `opts` | `{ shift?: boolean; redraw?: boolean }` | 선택 |

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

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

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

## 관련 차트


