add reference line support; add safety thresholds to air quality

This commit is contained in:
Casey Callendrello 2018-03-06 23:03:51 +01:00
parent 56f89cbdb8
commit 12b66ee71e
2 changed files with 23 additions and 3 deletions

View file

@ -94,11 +94,11 @@
<main>
<section id="climate-pm10">
<h2>PM<sub>10</sub></h2>
<cbase-linechart timeseries="clima.pm10.mainhall clima.pm10.arboretum" width="34" height="40"></cbase-linechart>
<cbase-linechart timeseries="clima.pm10.mainhall clima.pm10.arboretum" width="34" height="40" references="50,yellow 150,red"></cbase-linechart>
</section>
<section id="climate-pm25">
<h2>PM<sub>2.5</sub></h2>
<cbase-linechart timeseries="clima.pm25.mainhall clima.pm25.arboretum" width="34" height="40"></cbase-linechart>
<cbase-linechart timeseries="clima.pm25.mainhall clima.pm25.arboretum" width="34" height="40" references="25,yellow 35,red"></cbase-linechart>
</section>
<section id="drinks-status">
<cbase-currentstate id="bar-status" timeseries="bar.open" interval="10">bar</cbase-currentstate>