tickPixelInterval (xAxis properties)

자동 눈금 계산 시 눈금 사이의 대략적인 간격(px)을 설정합니다.
숫자 축과 시간 축에 적용되며, 값이 작을수록 눈금이 촘촘해집니다.

Info

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

Example

myChart.setOptions({
  chart: {
    type: "scatter"
  },
  xAxis: {
    tickPixelInterval: 50  // 약 50px마다 눈금
  },
  series: [{
    name: "측정값",
    data: [[0, 60], [30, 40], [70, 20], [100, 80]]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0