drilldown (event)
드릴 다운 시점에 발생하는 이벤트 입니다.
Info
Name |
Type |
Required |
Description |
event |
object |
선택 |
이벤트 인자 객체 |
type |
string |
선택(drilldown) |
이벤트 타입 |
x |
number |
선택 |
클릭 지점의 x좌표 (컨테이너 기준) |
y |
number |
선택 |
클릭 지점의 y좌표 (컨테이너 기준) |
Context Info
Name |
Type |
Required |
Description |
this |
object |
선택 |
포인트 속성 |
this.category |
string or number |
선택 |
지점의 카테코리(axislabel) |
this.x |
number |
선택(x값) |
지점의 x값 |
this.y |
number |
선택(y값) |
지점의 y값 |
Example
myChart.setEvents({
drilldown: function(event) {
console.log("drilldown: " + this.category);
}
});
myChart.setEventListener("drilldown", function(event){
console.log("drilldown: " + this.category);
});
myChart.setOptions({
events : {
drilldown: function(event) {
console.log("drilldown: " + this.category);
}
}
})
Since