showrealtime.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <script src="../../node_modules/jquery/dist/jquery.js"></script>
  7. <style type="text/css">
  8. .highcharts-figure, .highcharts-data-table table {
  9. flex:1;
  10. min-width: 220px;
  11. max-width: 100%;
  12. margin: 1em auto;
  13. }
  14. .highcharts-data-table table {
  15. font-family: Verdana, sans-serif;
  16. border-collapse: collapse;
  17. border: 1px solid #EBEBEB;
  18. margin: 10px auto;
  19. text-align: center;
  20. width: 100%;
  21. max-width: 500px;
  22. }
  23. .highcharts-data-table caption {
  24. padding: 1em 0;
  25. font-size: 1.2em;
  26. color: #555;
  27. }
  28. .highcharts-data-table th {
  29. font-weight: 600;
  30. padding: 0.5em;
  31. }
  32. .highcharts-data-table td, .highcharts-data-table th, .highcharts-data-table caption {
  33. padding: 0.5em;
  34. }
  35. .highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even) {
  36. background: #f8f8f8;
  37. }
  38. .highcharts-data-table tr:hover {
  39. background: #f1f7ff;
  40. }
  41. .chart_head_1 {
  42. text-align: center;
  43. font-size: x-large;
  44. margin-bottom: 0;
  45. font-weight: bold;
  46. }
  47. .highcharts-data-label {
  48. font-size: small;
  49. }
  50. </style>
  51. <script src="../../node_modules/highcharts/highcharts.js"></script>
  52. <script src="../../node_modules/highcharts/highcharts-more.js"></script>
  53. <script src="../../node_modules/highcharts/modules/exporting.js"></script>
  54. <script src="../../node_modules/highcharts/modules/export-data.js"></script>
  55. <script src="../../node_modules/highcharts/modules/accessibility.js"></script>
  56. <script src="../../node_modules/highcharts/modules/data.js"></script>
  57. <script src="../../node_modules/highcharts/modules/exporting.js"></script>
  58. </head>
  59. <body>
  60. <h2>实时监控</h2>
  61. <div class="ld-row" style="display:none;">
  62. <label class="ld-label">
  63. Enable Polling
  64. </label>
  65. <input type="checkbox" checked="checked" id="enablePolling"/>
  66. </div>
  67. <div style="display:flex;">
  68. <div id='chart-1'></div>
  69. <div id='chart-2'></div>
  70. </div>
  71. <div style="display:flex;">
  72. <div id='chart-3'></div>
  73. <div id='chart-4'></div>
  74. </div>
  75. <div id='chart-3a'></div>
  76. <div id='chart-5'></div>
  77. <div id="chart-6"></div>
  78. <script src="./showrealtime.js"></script>
  79. </body>
  80. </html>