Hello! Love this site 🙌
Whenever I load the page, the chart highlights the 24h as selected, but the data shown is actually 6 hours. This persists even after a ctrl+shift+r to clear any cache.
It looks like the 24hr button is set to selected in the HTML, but the GRAPH_HOUR_RANGE variable is set to 6 - these should be made consistent, I'm not sure which one you intended though.
<a
href="#graphs"
onclick="return graphHours(24, this)"
class="graph-selected"
>24hr</a
>
GRAPH_HOUR_RANGE = 6; // hours: controls data range generated for graph
Happy to make a pull request given guidance on whether 6 or 24hrs should be default :)
Cheers
Caitlin
Hello! Love this site 🙌
Whenever I load the page, the chart highlights the
24has selected, but the data shown is actually 6 hours. This persists even after a ctrl+shift+r to clear any cache.It looks like the 24hr button is set to selected in the HTML, but the
GRAPH_HOUR_RANGEvariable is set to 6 - these should be made consistent, I'm not sure which one you intended though.Happy to make a pull request given guidance on whether 6 or 24hrs should be default :)
Cheers
Caitlin