A pinned scale for load numbers
By default the tone runs from the grid's own minimum to its maximum. options.scale pins it — here 0 to 100 — so half load reads as half tone even when no server actually hit the ends.
View the spec
{
"type": "heatmap",
"theme": "ink",
"title": "CPU load by hour (%)",
"source": "Infrastructure dashboard, yesterday",
"options": {
"scale": {
"min": 0,
"max": 100
}
},
"data": {
"labels": [
"00:00",
"04:00",
"08:00",
"12:00",
"16:00",
"20:00"
],
"series": [
{
"name": "API",
"values": [
22,
18,
54,
78,
82,
45
]
},
{
"name": "Workers",
"values": [
35,
41,
60,
71,
66,
38
]
},
{
"name": "DB",
"values": [
28,
25,
49,
88,
91,
52
]
}
]
}
}