tickWidth (xAxis properties)

x축의 눈금 너비를 설정 합니다.
카테고리 축(categories 사용 또는 type: "category")은 기본값이 0이라 눈금선이 표시되지 않으므로, 눈금선이 필요하면 값을 지정합니다.

Info

name type required(default) description
tickWidth number 선택(1, 카테고리 축은 0) x축의 눈금 너비 설정

Example

myChart.setOptions({
  chart: {
    type: "line"
  },
  xAxis: {
    tickWidth: 10 // x축의 눈금 너비 설정
  },
  series: [{
    name: "서울",
    data : [60,40,20,80]
  },{
    name: "인천",
    data : [30,50,90,70]
  },{
    name: "부산",
    data : [40,70,30,60]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0