API REFERENCE
addSeries
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
정의
addSeries(options: LineChartSeries | ScatterChartSeries, opts?: { redraw?: boolean; insertAt?: number }): Promise<number>| 인수 | 타입 | 필수 여부 |
|---|---|---|
options | LineChartSeries | ScatterChartSeries | 필수 |
opts | { redraw?: boolean; insertAt?: number } | 선택 |
반환 타입: Promise<number>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- LineChartSeries
타입 정의
- ScatterChartSeries
타입 정의