Last Check
<%= Rate.last_time %>
Download: <%= Rate.last_value('download') %>
Upload: <%= Rate.last_value('upload') %>
Transfer Rate
<%= bar_chart @transfer_rate, xtitle: "Rate", ytitle: "Datetime", id: "rate_transfer-chart", height: "700px" %>
Download Rate
<%= bar_chart @download_rate, xtitle: "Rate", ytitle: "Datetime", id: "download_rate-chart", height: "700px" %>
Upload Rate
<%= bar_chart @upload_rate, xtitle: "Rate", ytitle: "Datetime", id: "upload_rate-chart", height: "700px" %>