tickAmount (yAxis properties)

축에 표시할 눈금 개수를 지정합니다.
축의 범위는 지정한 개수에 맞게 조정됩니다. tickInterval이 지정되어 있으면 적용되지 않습니다.

Info

name type required(default) description
tickAmount number 선택(undefined) 축에 표시할 눈금 개수를 지정합니다.

Example

myChart.setOptions({
  chart: {
    type: "column"
  },
  yAxis: {
    tickAmount: 8  // 눈금 8개
  },
  series: [{
    name: "서울",
    data: [60, 40, 20, 80]
  }, {
    name: "인천",
    data: [30, 50, 90, 70]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0