startOnTick (colorAxis properties)

색상 축이 눈금 위치에서 시작할지 설정합니다.
false이면 데이터 최소값에서 바로 시작합니다.
색상 축은 히트맵(modules/heatmap.js) 등 색상 축을 쓰는 차트에서 범례에 그라데이션 막대로 표시됩니다.

Info

name type required(default) description
startOnTick boolean 선택(true) 색상 축이 눈금 위치에서 시작할지 설정합니다.

Example

myChart.setOptions({
  chart: {
    type: "heatmap"
  },
  xAxis: {
    categories: ["월", "화", "수", "목", "금"]
  },
  yAxis: {
    categories: ["오전", "오후"],
    title: null
  },
  colorAxis: {
    minColor: "#FFFFFF",
    maxColor: "#4572A7",
    startOnTick: false  // 데이터 최소값(5)에서 시작
  },
  series: [{
    name: "방문자",
    data: [[0, 0, 10], [0, 1, 19], [1, 0, 92], [1, 1, 58], [2, 0, 35],
           [2, 1, 15], [3, 0, 72], [3, 1, 132], [4, 0, 38], [4, 1, 5]]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0