Show sum line in all rain graphs.

This commit is contained in:
2016-09-05 22:36:27 +02:00
parent 0147113369
commit 8ab64ad7a3
11 changed files with 33 additions and 12 deletions
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<plot>
<title>Niederschlag (㎜)</title>
<yrange>0, 30</yrange>
<y2range>0, 120</y2range>
<ylabel>täglich</ylabel>
<y2label>gesamt</y2label>
<source>daily</source>
<subplot>
<colour>rgb "#2196f3"</colour>
<style>box</style>
<xcalc>data['start'] + timedelta(hours=12)</xcalc>
<ycalc>data['rain']</ycalc>
<title>täglich</title>
</subplot>
<subplot>
<colour>rgb "#283593"</colour>
<axes>x1y2</axes>
<ycalc>data['rain'] + last_ycalc</ycalc>
<title>gesamt</title>
</subplot>
</plot>