축 눈금선의 길이(px)를 설정합니다.
y축은 눈금선 두께(tickWidth) 기본값이 0이므로tickWidth와 함께 설정해야 보입니다.
| name | type | required(default) | description |
|---|---|---|---|
| tickLength | number |
선택(5) | 축 눈금선의 길이(px)를 설정합니다. |
myChart.setOptions({
chart: {
type: "line"
},
yAxis: {
tickWidth: 1,
tickLength: 15 // 눈금선 길이 15px
},
series: [{
name: "서울",
data: [60, 40, 20, 80]
}, {
name: "인천",
data: [30, 50, 90, 70]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |