API REFERENCE

setAnimation

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

정의

typescript
setAnimation(options: { duration?: number; easing?: LineChartEasing; enabled?: boolean; type?: ChartAnimationType }): Promise<void>
인수타입필수 여부
options{ duration?: number; easing?: LineChartEasing; enabled?: boolean; type?: ChartAnimationType }필수

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