alignTicks (chart properties)
y축이 여러 개일 때 축들의 눈금 위치를 서로 맞출지 설정합니다.
false이면 축마다 데이터 범위에 맞게 눈금을 따로 계산합니다.
Info
| name |
type |
required(default) |
description |
| alignTicks |
boolean |
선택(true) |
y축이 여러 개일 때 축들의 눈금 위치를 서로 맞출지 설정합니다. |
Example
myChart.setOptions({
chart: {
type: "column",
alignTicks: false
},
yAxis: [{
title: { text: "매출" }
}, {
title: { text: "이익률" },
opposite: true
}],
series: [{
name: "매출",
data: [60, 40, 20, 80]
}, {
name: "이익률",
data: [3.1, 5.2, 4.4, 11.9],
yAxis: 1
}]
}, {
append: true,
redraw: true
});
제공 버전