tickPosition (colorAxis properties)
색상 축 눈금선을 그라데이션 막대 바깥쪽에 그릴지 안쪽에 그릴지 설정합니다.
색상 축은 눈금선 두께(tickWidth) 기본값이 0이라 눈금선이 보이지 않으므로, tickWidth와 함께 설정합니다.
Info
| name |
type |
required(default) |
description |
| tickPosition |
string |
선택(outside) |
색상 축 눈금선을 그라데이션 막대 바깥쪽에 그릴지 안쪽에 그릴지 설정합니다. |
Enum
| value |
description |
| outside |
막대 바깥쪽 |
| inside |
막대 안쪽 |
Example
myChart.setOptions({
chart: {
type: "heatmap"
},
xAxis: {
categories: ["월", "화", "수", "목", "금"]
},
yAxis: {
categories: ["오전", "오후"],
title: null
},
colorAxis: {
minColor: "#FFFFFF",
maxColor: "#4572A7",
tickWidth: 1,
tickLength: 8,
tickPosition: "inside"
},
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
});
제공 버전