stackLabels (xAxis properties)
누적형 레이블 사용여부(합계값 표시)를 표시합니다.
Info
name |
type |
required(default) |
description |
enabled |
boolean |
선택 |
누적형 레이블 사용 여부(true일 시 사용) |
align |
string |
선택 |
누적형 레이블 위치(left,center,right) |
Example
myChart.setOptions({
chart: {
type: "column"
},
yAxis: {
stackLabels: {
enabled: true,
align: "left"
}
},
plotOptions: {
column: {
stacking: "normal"
}
}
series: [{
name: "서울",
data : [60,40,20,80]
},{
name: "인천",
data : [30,50,90,70]
},{
name: "부산",
data : [40,70,30,60]
}]
}, {
append: true,
redraw: true
});

제공 버전