Skip to content

Commit 817a4a5

Browse files
committed
replicating on index
1 parent dc94e50 commit 817a4a5

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

devtools/test_dashboard/index.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,36 @@
144144

145145
var data = [trace1];
146146

147-
Plotly.newPlot("tester", data, { margin: { t: 0, l: 50, r: 0 } });
147+
// Plotly.newPlot("tester", data, { margin: { t: 0, l: 50, r: 0 } });
148+
</script>
149+
<script>
150+
var data = [
151+
{
152+
z: [
153+
[1, 1, 1, 1, 1, 1, 1],
154+
[1, 1, 1, 1, 1, 1, 1],
155+
[1, 1, 1, 1, 1, 1, 1],
156+
[1, 1, 1, 1, 1, 1, 1],
157+
[1, 1, 1, 1, 1, 1, 1],
158+
[1, 1, 1, 1, 1, 1, 1],
159+
[1, 1, 1, 1, 1, 1, 1],
160+
[1, 1, 1, 1, 1, 1, 1],
161+
[1, 1, 1, 1, 1, 1, 1],
162+
],
163+
x: [
164+
["2017", "2017", "2017", "2017", "2018", "2018", "2018"],
165+
['q1','q2','q3','q4','q1','q2','q3',]
166+
],
167+
y: [
168+
["G1","G1","G1","G2","G2","G2","G3","G3","G3"],
169+
["A","B","C","A","B","C","A","B","C"]
170+
],
171+
type: "heatmap",
172+
hoverongaps: false,
173+
},
174+
];
175+
176+
Plotly.newPlot("tester", data);
148177
</script>
149178
</body>
150179
</html>

0 commit comments

Comments
 (0)