minorTicksPerMajor (yAxis properties)

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

Info

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

Example

myChart.setOptions({
  chart: {
    type: "line"
  },
  yAxis: {
    minorTicks: true,
    minorTicksPerMajor: 2  // 주 눈금 한 칸을 2등분
  },
  series: [{
    name: "서울",
    data: [60, 40, 20, 80]
  }, {
    name: "인천",
    data: [30, 50, 90, 70]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0