refactored charts
This commit is contained in:
@@ -1,17 +1,3 @@
|
||||
<h1>Data Transfer Test</h1>
|
||||
<section>
|
||||
<h1>Everage: </h1>
|
||||
<b>Download:</b> <%= @down_everage %> Mbps
|
||||
<b>Upload:</b> <%= @up_everage %> Mbps
|
||||
</section>
|
||||
<section>
|
||||
<h1>Maximum: </h1>
|
||||
<b>Download:</b> <%= @max_download %> Mbps
|
||||
<b>Upload:</b> <%= @max_upload %> Mbps
|
||||
</section>
|
||||
<section>
|
||||
<h1>Minimum: </h1>
|
||||
<b>Download:</b> <%= @min_download %> Mbps
|
||||
<b>Upload:</b> <%= @min_upload %> Mbps
|
||||
</section>
|
||||
<%= bar_chart @data, xtitle: "Datetime", ytitle: "Rate", id: "users-chart", height: "700px" %>
|
||||
<%= bar_chart @transfer_rate, xtitle: "Rate", ytitle: "Datetime", id: "rate_transfer-chart", height: "700px" %>
|
||||
<%= column_chart @download_rate, xtitle: "Datetime", ytitle: "Rate", id: "download_rate-chart", height: "700px" %>
|
||||
Reference in New Issue
Block a user