minorTicksPerMajor (xAxis properties)

주 눈금 한 칸을 보조 눈금으로 몇 등분할지 설정합니다.
minorTicks가 true일 때 적용됩니다.

Info

name type required(default) description
minorTicksPerMajor number 선택(5) 주 눈금 한 칸을 보조 눈금으로 몇 등분할지 설정합니다.

Example

myChart.setOptions({
  chart: {
    type: "scatter"
  },
  xAxis: {
    minorTicks: true,
    minorGridLineWidth: 1,
    minorTicksPerMajor: 4  // 주 눈금 한 칸을 4등분
  },
  series: [{
    name: "측정값",
    data: [[0, 60], [10, 40], [20, 20], [30, 80]]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0