세로 정렬 방법을 설정합니다.
name | type | required (default) | description |
---|---|---|---|
verticalAlign | string |
선택(bottom) | 세로 정렬 방법 |
value | description |
---|---|
top | 중앙 정렬 |
middle | 좌측 정렬 |
bottom | 우측 정렬 |
myChart.setOptions({
chart: {
type: "column"
},
legend: {
verticalAlign: "top" // 세로 정렬 방법 설정
},
series: [{
name: "서울",
data : [60,40,20,80]
},{
name: "인천",
data : [30,50,90,70]
},{
name: "부산",
data : [40,70,30,60]
}]
}, {
append: true,
redraw: true
});
version | desc |
---|---|
7.3.0.0 |