minorTickInterval (colorAxis properties)
색상 축 보조 눈금의 간격(축 값 기준)을 설정합니다. "auto"이면 주 눈금 간격의 1/5입니다.
보조 눈금은 minorTickInterval과 minorTickWidth를 함께 설정해야 표시됩니다.
색상 축은 히트맵(modules/heatmap.js) 등 색상 축을 쓰는 차트에서 범례에 그라데이션 막대로 표시됩니다.
Info
| name |
type |
required(default) |
description |
| minorTickInterval |
number or string |
선택(undefined) |
색상 축 보조 눈금의 간격(축 값 기준)을 설정합니다. "auto"이면 주 눈금 간격의 1/5입니다. |
Example
myChart.setOptions({
chart: {
type: "heatmap"
},
xAxis: {
categories: ["월", "화", "수", "목", "금"]
},
yAxis: {
categories: ["오전", "오후"],
title: null
},
colorAxis: {
minColor: "#FFFFFF",
maxColor: "#4572A7",
minorTickWidth: 1,
minorTickInterval: 10
},
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
});
제공 버전