축 눈금선의 색상을 설정합니다.
y축은 눈금선 두께(tickWidth) 기본값이 0이라 보이지 않으므로tickWidth와 함께 설정합니다.
| name | type | required(default) | description |
|---|---|---|---|
| tickColor | color |
선택(#333333) | 축 눈금선의 색상을 설정합니다. |
myChart.setOptions({
chart: {
type: "line"
},
yAxis: {
tickWidth: 1,
tickColor: "#FF0000" // 빨간 눈금선
},
series: [{
name: "서울",
data: [60, 40, 20, 80]
}, {
name: "인천",
data: [30, 50, 90, 70]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |