Fix graph
This commit is contained in:
parent
7938b63069
commit
3473e0c18a
14
main.py
14
main.py
@ -92,10 +92,20 @@ html = """<!DOCTYPE html>
|
|||||||
<input type="text" style="display: block; width: 46px; font-size: 20px; padding: 0; margin: 20px 0;">
|
<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>
|
<button style="display:block; height:50px; width:50px;padding:10px;">set</button>
|
||||||
</div-->
|
</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>
|
||||||
</div>
|
</div>
|
||||||
<canvas id="chart" width="650" height="100"></canvas>
|
<canvas id="chart" width="650" height="200"></canvas>
|
||||||
<hr>
|
<hr>
|
||||||
<small><a href="https://git.wut.ee/arti/peltier_jacket" style="color:black;">Source code</a></small>, <small>Good luck!</small>
|
<small><a href="https://git.wut.ee/arti/peltier_jacket" style="color:black;">Source code</a></small>, <small>Good luck!</small>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user