Rough out plotly plot.

This commit is contained in:
mattbk
2017-11-16 02:16:16 +00:00
parent 8499c457fd
commit fbaa1beb24
6 changed files with 187081 additions and 6 deletions

View File

@ -240,5 +240,22 @@
}
</script>
</script>
<div id='plotly-plot'></div>
<footer>
<!-- D3.js https://github.com/d3/d3/releases-->
<script src="static/javascript/d3.min.js"></script>
<!-- jQuery https://jquery.com/download/ -->
<script src="static/javascript/jquery-3.2.1.min.js"></script>
<!-- Plotly.js https://github.com/plotly/plotly.js/releases/ -->
<script src="static/javascript/plotly.js"></script>
<!--Plot Scaled-D on results.html-->
<script type="text/javascript">
var graph = {{graphJSON | safe}};
Plotly.plot('plotly-plot', graph.data, graph.layout);
</script>
</footer>
</html>