Heatmap
One value for each row and column.
Code
ts
createChart(host, {
type: "heatmap",
rows: ["Mon", "Tue", "Wed", "Thu", "Fri"],
columns: ["8 h", "10 h", "12 h", "14 h", "16 h", "18 h"],
labels: true,
color: "#2a9d8f",
values: [
[2, 5, 9, 7, 4, 1],
[3, 6, 11, 8, 5, 2],
[2, 7, 14, 9, 6, null],
[4, 8, 12, 10, 7, 3],
[5, 9, 10, 6, 3, 1]
]
});Every field is in the API. Change this chart in the playground.