tickWidth (yAxis properties)

축 눈금선의 두께(px)를 설정합니다. y축은 기본값이 0이라 눈금선이 표시되지 않습니다.

Info

name type required(default) description
tickWidth number 선택(0) 축 눈금선의 두께(px)를 설정합니다. y축은 기본값이 0이라 눈금선이 표시되지 않습니다.

Example

myChart.setOptions({
  chart: {
    type: "line"
  },
  yAxis: {
    tickWidth: 2  // 눈금선 두께 2px
  },
  series: [{
    name: "서울",
    data: [60, 40, 20, 80]
  }, {
    name: "인천",
    data: [30, 50, 90, 70]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0