Doplnenie grafov teploty, tlaku, vlhkosti
This commit is contained in:
@@ -16,12 +16,10 @@
|
||||
color: #636b6f;
|
||||
font-family: 'Nunito', sans-serif;
|
||||
font-weight: 200;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-height {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
@@ -42,6 +40,7 @@
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.title {
|
||||
@@ -99,9 +98,14 @@
|
||||
<li>Tlak: @{{pressure}} khPa</li>
|
||||
<li>Napätie: @{{voltage}} V</li>
|
||||
<li>Čas: @{{time}}</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<dygraphs ref="dgt" :graph-data="series['temperature']" :graph-options="temp_options"></dygraphs>
|
||||
<dygraphs ref="dgh" :graph-data="series['humidity']" :graph-options="hum_options"></dygraphs>
|
||||
<dygraphs ref="dgp" :graph-data="series['pressure']" :graph-options="p_options"></dygraphs>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user