animation (chart properties)
차트를 다시 그릴 때(데이터 변경, 시리즈 표시/숨김, 크기 변경 등)의 애니메이션을 설정합니다.
처음 그릴 때의 애니메이션은 plotOptions animation으로 설정합니다.
Info
| name |
type |
required(default) |
description |
| animation |
boolean or object |
선택(true) |
차트를 다시 그릴 때(데이터 변경, 시리즈 표시/숨김, 크기 변경 등)의 애니메이션을 설정합니다. |
| animation.duration |
number |
선택(undefined) |
애니메이션 시간 (밀리초) |
Example
myChart.setOptions({
chart: {
type: "column",
animation: {
duration: 1000
}
},
series: [{
name: "서울",
data: [60, 40, 20, 80]
}, {
name: "인천",
data: [30, 50, 90, 70]
}]
}, {
append: true,
redraw: true
});
제공 버전