tickWidth (colorAxis properties)

색상 축 눈금선의 두께(px)를 설정합니다. 기본값이 0이라 눈금선이 표시되지 않습니다.
색상 축은 히트맵(modules/heatmap.js) 등 색상 축을 쓰는 차트에서 범례에 그라데이션 막대로 표시됩니다.

Info

name type required(default) description
tickWidth number 선택(0) 색상 축 눈금선의 두께(px)를 설정합니다. 기본값이 0이라 눈금선이 표시되지 않습니다.

Example

myChart.setOptions({
  chart: {
    type: "heatmap"
  },
  xAxis: {
    categories: ["월", "화", "수", "목", "금"]
  },
  yAxis: {
    categories: ["오전", "오후"],
    title: null
  },
  colorAxis: {
    minColor: "#FFFFFF",
    maxColor: "#4572A7",
    tickWidth: 1  // 눈금선 표시
  },
  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