Repository navigation
Expand file tree
/
Copy pathtest.html
More file actions
62 lines (56 loc) · 2.12 KB
/
Copy pathtest.html
File metadata and controls
62 lines (56 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<!-- Plotly.js -->
<meta http-equiv="X-UA-Compatible" content="IE=11" >
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<style>
.container {
padding-right: 25px;
padding-left: 25px;
margin-right: 0 auto;
margin-left: 0 auto;
}
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
</style>
</head>
<body>
<div id="871b2f14-0792-47c4-8244-41c1def28533" style="width: 600px; height: 600px;"><!-- Plotly chart will be drawn inside this DIV --></div>
<script type="text/javascript">
var renderPlotly_871b2f14079247c4824441c1def28533 = function() {
var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-latest.min'}}) || require;
fsharpPlotlyRequire(['plotly'], function(Plotly) {
var data = [{"type":"scatter","x":[0,1,2,3,4,5,6,7,8,9,10],"y":[0,2,4,6,8,10,12,14,16,18,20],"mode":"markers","marker":{}}];
var layout = {};
var config = {};
Plotly.newPlot('871b2f14-0792-47c4-8244-41c1def28533', data, layout, config);
});
};
if ((typeof(requirejs) !== typeof(Function)) || (typeof(requirejs.config) !== typeof(Function))) {
var script = document.createElement("script");
script.setAttribute("src", "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js");
script.onload = function(){
renderPlotly_871b2f14079247c4824441c1def28533();
};
document.getElementsByTagName("head")[0].appendChild(script);
}
else {
renderPlotly_871b2f14079247c4824441c1def28533();
}
</script>
</body>
</html>