tickLength (yAxis properties)

축 눈금선의 길이(px)를 설정합니다.
y축은 눈금선 두께(tickWidth) 기본값이 0이므로 tickWidth와 함께 설정해야 보입니다.

Info

name type required(default) description
tickLength number 선택(5) 축 눈금선의 길이(px)를 설정합니다.

Example

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