Archived
1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
pywws-page/_graph_templates/includes/daily_temp_maxmin_bar.xml

23 lines
658 B
XML

<?xml version="1.0" encoding="utf-8"?>
<plot>
<title>Temperatur (℃)</title>
<yrange>-20, 45</yrange>
<grid>ytics</grid>
<source>daily</source>
<boxwidth>boxwidth / 2</boxwidth>
<subplot>
<style>box</style>
<colour>rgb "#f44336"</colour>
<title>Tagesmaximum</title>
<xcalc>data['start'] + timedelta(hours=18)</xcalc>
<ycalc>data['temp_out_max']</ycalc>
</subplot>
<subplot>
<style>box</style>
<colour>rgb "#607d8b"</colour>
<title>Nachtminimum</title>
<xcalc>data['start'] + timedelta(hours=6)</xcalc>
<ycalc>data['temp_out_min']</ycalc>
</subplot>
</plot>