seriesShow (event)
시리즈에서 숨김에서 보임으로 변경되는 시점에 발생하는 이벤트입니다.
Info
Name |
Type |
Required |
Description |
event |
object |
선택 |
이벤트 인자 객체 |
type |
string |
선택(show) |
이벤트 타입 |
Context Info
Name |
Type |
Required |
Description |
this |
object |
선택 |
시리즈 속성 |
this.name |
string |
선택 |
시리즈명 |
this.index |
number |
선택 |
시리즈 인덱스 |
this.data |
array |
선택 |
시리즈의 데이터 |
this.xData |
array |
선택 |
시리즈의 x축 데이터 |
this.yData |
array |
선택 |
시리즈의 y축 데이터 |
this.dataMax |
number |
선택 |
시리즈의 데이터에서 최대 값 |
this.dataMin |
number |
선택 |
시리즈의 데이터에서 최소 값 |
Example
myChart.setEvents({
seriesShow: function(event) {
console.log("seriesShow");
}
});
myChart.setEventListener("seriesShow", function(event){
console.log("seriesShow");
});
myChart.setOptions({
events : {
seriesShow: function(event) {
console.log("seriesShow");
}
}
})
Since