added hourly avg graph to frontend

This commit is contained in:
simon 2021-03-11 18:09:53 +07:00
parent e3286af0cd
commit eaa36d8e06
2 changed files with 23 additions and 0 deletions

View File

@ -49,6 +49,11 @@ a {
margin-right: auto;
}
.content-date {
display: inline-block;
width: 90px;
}
.colorbox {
color: #fff;
min-height: 40px;

View File

@ -80,6 +80,24 @@
<div class="content divider">
<hr class="col_border">
</div>
<div class="content">
<h2 id="hour">Hour by Hour</h2>
</div>
<div class="graph2 content">
<div class="graph_item">
<a href="/dyn/hours.png" data-lightbox="hours-bar">
<img src="/dyn/hours.png" alt="hours 10 bar chart">
</a>
</div>
<div>
<h3>Hourly AQI average</h3>
<p>The AQI value can change a lot during the day. This can depend on the wind, cooking on fire or just another additional source of pollution nearby.</p>
<p>In this chart you can see the average AQI for each hour. This data is based on the last three days. This data can help to visualize which hours in the past three hours have been better or worse on average.</p>
</div>
</div>
<div class="content divider">
<hr class="col_border">
</div>
</div>
<div class="block_wrap">
<div class="tagline_content content">