plotly.js
Version:
The open source javascript graphing library that powers plotly
37 lines (33 loc) • 1.43 kB
HTML
<html>
<head>
<title>Scattergl empty</title>
<script src="../dist/plotly.js"></script>
<!-- Use Plotly.js from CDN -->
<!-- <script src="https://cdn.plot.ly/plotly-3.1.0.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-3.1.0.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-3.0.3.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-3.0.2.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-3.0.1.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-3.0.0.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-3.0.0-rc.2.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-2.35.3.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-2.35.2.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-2.35.1.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-2.35.0.min.js"></script> -->
<!-- <script src="https://cdn.plot.ly/plotly-2.34.0.min.js"></script> -->
</head>
<body>
<div id="graph" style="width:600px;height:400px;"></div>
<script>
Plotly.newPlot('graph', [{
type: 'scattergl',
x: [1],
y: [1],
text: 'some text',
mode: 'text+markers',
textposition: 'top center',
},]);
</script>
</body>
</html>