Added first partials.
This commit is contained in:
parent
87e1a2ba7a
commit
82020e9cf9
12
_graph_templates/includes/year_rain.xml
Normal file
12
_graph_templates/includes/year_rain.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<plot>
|
||||
<yrange>0, 120</yrange>
|
||||
<source>monthly</source>
|
||||
<subplot>
|
||||
<colour>rgb "#2196f3"</colour>
|
||||
<style>box</style>
|
||||
<xcalc>data['start'] + timedelta(days=14)</xcalc>
|
||||
<ycalc>data['rain']</ycalc>
|
||||
<title>Monatl. Regenfall (㎜)</title>
|
||||
</subplot>
|
||||
</plot>
|
35
_graph_templates/includes/year_temp.xml
Normal file
35
_graph_templates/includes/year_temp.xml
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<plot>
|
||||
<title>Temperatur (℃)</title>
|
||||
<yrange>-20, 50</yrange>
|
||||
<source>monthly</source>
|
||||
<boxwidth>boxwidth / 2</boxwidth>
|
||||
<subplot>
|
||||
<style>box</style>
|
||||
<colour>rgb "#f44336"</colour>
|
||||
<title>Mittleres Tagesmaximum</title>
|
||||
<xcalc>data['start'] + timedelta(days=20)</xcalc>
|
||||
<ycalc>data['temp_out_max_ave']</ycalc>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<style>+</style>
|
||||
<colour>rgb "#b71c1c"</colour>
|
||||
<title>Höchstes Tagesmaximum</title>
|
||||
<xcalc>data['temp_out_max_hi_t']</xcalc>
|
||||
<ycalc>data['temp_out_max_hi']</ycalc>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<style>box</style>
|
||||
<colour>rgb "#607d8b"</colour>
|
||||
<title>Mittleres Nachtminimum</title>
|
||||
<xcalc>data['start'] + timedelta(days=7)</xcalc>
|
||||
<ycalc>data['temp_out_min_ave']</ycalc>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<style>+</style>
|
||||
<colour>rgb "#263238"</colour>
|
||||
<title>Tiefstes Nachtminimum</title>
|
||||
<xcalc>data['temp_out_min_lo_t']</xcalc>
|
||||
<ycalc>data['temp_out_min_lo']</ycalc>
|
||||
</subplot>
|
||||
</plot>
|
Reference in New Issue
Block a user