Fix graph

This commit is contained in:
Arti Zirk 2016-10-14 19:13:31 +02:00
parent 7938b63069
commit 3473e0c18a

14
main.py
View File

@ -92,10 +92,20 @@ html = """<!DOCTYPE html>
<input type="text" style="display: block; width: 46px; font-size: 20px; padding: 0; margin: 20px 0;">
<button style="display:block; height:50px; width:50px;padding:10px;">set</button>
</div-->
<canvas data-width="100" data-height="300" data-type="linear-gauge" id="temp-gauge"></canvas>
<canvas data-width="100"
data-height="300"
data-type="linear-gauge"
data-min-value="15"
data-max-value="35"
data-animation-rule="elastic"
data-animation-duration="500"
data-minor-ticks="5"
data-major-ticks="15,20,25,30,35"
data-highlights=""
id="temp-gauge"></canvas>
</div>
</div>
<canvas id="chart" width="650" height="100"></canvas>
<canvas id="chart" width="650" height="200"></canvas>
<hr>
<small><a href="https://git.wut.ee/arti/peltier_jacket" style="color:black;">Source code</a></small>, <small>Good luck!</small>