주 눈금 한 칸을 보조 눈금으로 몇 등분할지 설정합니다.
minorTicks가true일 때 적용됩니다.
| name | type | required(default) | description |
|---|---|---|---|
| minorTicksPerMajor | number |
선택(5) | 주 눈금 한 칸을 보조 눈금으로 몇 등분할지 설정합니다. |
myChart.setOptions({
chart: {
type: "line"
},
yAxis: {
minorTicks: true,
minorTicksPerMajor: 2 // 주 눈금 한 칸을 2등분
},
series: [{
name: "서울",
data: [60, 40, 20, 80]
}, {
name: "인천",
data: [30, 50, 90, 70]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |