softMin (colorAxis properties)
색상 축 최소값의 상한을 설정합니다.
데이터가 이 값보다 크면 이 값부터를 색상 범위로 쓰고, 데이터가 더 작으면 데이터에 맞게 내려갑니다.
색상 축은 히트맵(modules/heatmap.js) 등 색상 축을 쓰는 차트에서 범례에 그라데이션 막대로 표시됩니다.
Info
| name |
type |
required(default) |
description |
| softMin |
number |
선택(undefined) |
색상 축 최소값의 상한을 설정합니다. |
Example
myChart.setOptions({
chart: {
type: "heatmap"
},
xAxis: {
categories: ["월", "화", "수", "목", "금"]
},
yAxis: {
categories: ["오전", "오후"],
title: null
},
colorAxis: {
minColor: "#FFFFFF",
maxColor: "#4572A7",
softMin: 0
},
series: [{
name: "기온",
data: [[0, 0, 41], [0, 1, 52], [1, 0, 48], [1, 1, 60], [2, 0, 55],
[2, 1, 45], [3, 0, 58], [3, 1, 62], [4, 0, 44], [4, 1, 50]]
}]
}, {
append: true,
redraw: true
});
제공 버전