setOptions (series method)
대상 시리즈의 속성을 설정합니다.
Syntax
{ibchart.series}.setOptions(prop, [opt]);
Info
| Name |
Type |
Required |
Description |
prop |
object |
필수 |
시리즈의 구성 옵션 속성 |
| opt |
boolean |
선택 |
옵션 속성 |
| opt.append |
boolean |
선택(false) |
이전 설정과의 병합 처리 여부 |
| opt.redraw |
boolean |
선택(false) |
설정 적용 후 다시 그리기 여부 |
Enum
| Name |
Type |
Description |
| data |
object |
Series의 데이터 설정(JSON Object) |
| legendIndex |
number |
Series의 legend 표시되는 index 설정 |
| name |
string |
Series의 name 설정 |
| stack |
string |
stack 옵션 설정 |
| type |
string |
Series의 타입 설정 |
| xAxis |
number |
X축을 두개로 사용할 때 축 번호를 설정 |
| yAxis |
number |
Y축을 두개로 사용할 때 축 번호를 설정 |
| zindex |
number |
Series의 zindex 설정 |
Returns
none
Example
myChart.series(0).setOptions({
yAxis : 1
},{
append: true
});
Since