축 눈금선을 축 바깥쪽에 그릴지 안쪽(그래프 영역 쪽)에 그릴지 설정합니다.
| name | type | required(default) | description |
|---|---|---|---|
| tickPosition | string |
선택(outside) | 축 눈금선을 축 바깥쪽에 그릴지 안쪽(그래프 영역 쪽)에 그릴지 설정합니다. |
| value | description |
|---|---|
| outside | 축 바깥쪽 |
| inside | 축 안쪽(그래프 영역 쪽) |
myChart.setOptions({
chart: {
type: "line"
},
yAxis: {
tickWidth: 1,
tickPosition: "inside" // 그래프 영역 쪽으로 눈금 표시
},
series: [{
name: "서울",
data: [60, 40, 20, 80]
}, {
name: "인천",
data: [30, 50, 90, 70]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |