Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
509 B

  1. <h4 class="text-center">Traffic Graph</h4>
  2. <div class="row">
  3. <div class="col-12">
  4. <div id="visualization"></div>
  5. </div>
  6. <br><br>
  7. <script type="text/javascript">
  8. var container = document.getElementById('visualization');
  9. var items = {dataset};
  10. var dataset = new vis.DataSet(items);
  11. var options = {
  12. start: {start},
  13. end: {finish},
  14. };
  15. var graph2d = new vis.Graph2d(container, dataset, options);
  16. </script>
  17. </div>