tickPixelInterval (yAxis properties)

자동 눈금 계산 시 눈금 사이의 대략적인 간격(px)을 설정합니다.
값이 작을수록 눈금이 촘촘해집니다. tickInterval이나 tickPositions를 지정하면 적용되지 않습니다.

Info

name type required(default) description
tickPixelInterval number 선택(72) 자동 눈금 계산 시 눈금 사이의 대략적인 간격(px)을 설정합니다.

Example

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

제공 버전

version desc
7.3.0.0