30 lines
749 B
HTML
30 lines
749 B
HTML
<html>
|
|
|
|
<head>
|
|
<!-- Plotly.js -->
|
|
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
|
|
<meta http-equiv="refresh" content="300"/>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Downstream</h1>
|
|
<div id="down-potencia"></div>
|
|
<div id="down-snr"></div>
|
|
|
|
<h1>Uptream</h1>
|
|
<div id="up-potencia"></div>
|
|
|
|
<script>
|
|
Plotly.d3.json('/downstream/power', function(err, fig) {
|
|
Plotly.plot('down-potencia', fig.data, fig.layout);
|
|
});
|
|
Plotly.d3.json('/downstream/snr', function(err, fig) {
|
|
Plotly.plot('down-snr', fig.data, fig.layout);
|
|
});
|
|
Plotly.d3.json('/upstream/power', function(err, fig) {
|
|
Plotly.plot('up-potencia', fig.data, fig.layout);
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |