Skip to content

Commit d3713e1

Browse files
committed
add heatmap with '0' x/y category mock
1 parent e0116cb commit d3713e1

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"data": [
3+
{
4+
"x": [ 3, 2, 1, 0 ],
5+
"y": [ 3, 2, 1, 0 ],
6+
"z": [
7+
[ 98, 97, 96, null ],
8+
[ 88, 87, 86, null ],
9+
[ 78, 77, 76, null ],
10+
[ null, null, null, null ]
11+
],
12+
"type": "heatmap",
13+
"colorscale": [
14+
[ 0, "#3D9970" ],
15+
[ 1, "#001f3f" ]
16+
],
17+
"showscale": false,
18+
"xgap": 1,
19+
"ygap": 1
20+
}
21+
],
22+
"layout": {
23+
"height": 450,
24+
"width": 650,
25+
"xaxis": {
26+
"type": "category"
27+
},
28+
"yaxis": {
29+
"type": "category"
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)