Show sum line in all rain graphs.
This commit is contained in:
parent
0147113369
commit
8ab64ad7a3
@ -8,6 +8,6 @@
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/raw_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/raw_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
</graph>
|
||||
|
@ -8,6 +8,6 @@
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/raw_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/raw_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
</graph>
|
||||
|
@ -7,6 +7,6 @@
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/daily_temp_maxmin_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/daily_rain_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/daily_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
</graph>
|
||||
|
@ -7,6 +7,6 @@
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/daily_temp_maxmin_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/daily_rain_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/daily_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
</graph>
|
||||
|
@ -7,6 +7,6 @@
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/hourly_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
</graph>
|
||||
|
@ -7,6 +7,6 @@
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/hourly_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_bar.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
</graph>
|
||||
|
@ -7,6 +7,6 @@
|
||||
<style>box</style>
|
||||
<xcalc>data['start'] + timedelta(hours=12)</xcalc>
|
||||
<ycalc>data['rain']</ycalc>
|
||||
<title>Tägl. Regenfall (㎜)</title>
|
||||
<title>Tägl. Niederschlag (㎜)</title>
|
||||
</subplot>
|
||||
</plot>
|
||||
|
22
_graph_templates/includes/daily_rain_sum_dual.xml
Normal file
22
_graph_templates/includes/daily_rain_sum_dual.xml
Normal file
@ -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>
|
@ -7,6 +7,6 @@
|
||||
<style>box</style>
|
||||
<xcalc>data['idx'].replace(minute=30, second=0)</xcalc>
|
||||
<ycalc>data['rain']</ycalc>
|
||||
<title>Regenfall (㎜)</title>
|
||||
<title>Niederschlag (㎜)</title>
|
||||
</subplot>
|
||||
</plot>
|
||||
|
@ -1,10 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<plot>
|
||||
<bmargin>1.6</bmargin>
|
||||
<title>Niederschlag (㎜)</title>
|
||||
<yrange>0, 6</yrange>
|
||||
<y2range>0, 30</y2range>
|
||||
<ylabel>stündl.</ylabel>
|
||||
<ylabel>stündlich</ylabel>
|
||||
<y2label>gesamt</y2label>
|
||||
<source>hourly</source>
|
||||
<subplot>
|
||||
@ -12,7 +11,7 @@
|
||||
<style>box</style>
|
||||
<xcalc>data['idx'].replace(minute=30, second=0)</xcalc>
|
||||
<ycalc>data['rain']</ycalc>
|
||||
<title>stündl.</title>
|
||||
<title>stündlich</title>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<colour>rgb "#283593"</colour>
|
||||
|
@ -7,6 +7,6 @@
|
||||
<style>box</style>
|
||||
<xcalc>data['start'] + timedelta(days=14)</xcalc>
|
||||
<ycalc>data['rain']</ycalc>
|
||||
<title>Monatl. Regenfall (㎜)</title>
|
||||
<title>Monatl. Niederschlag (㎜)</title>
|
||||
</subplot>
|
||||
</plot>
|
||||
|
Reference in New Issue
Block a user