diff --git a/_graph_templates/28days.png.xml b/_graph_templates/28days.png.xml index 7f5a78b..fc6a17d 100644 --- a/_graph_templates/28days.png.xml +++ b/_graph_templates/28days.png.xml @@ -1,63 +1,12 @@ 600, 800 - pngcairo font "arial,8" + weeks=4 %Y/%m/%d - - Temperatur (℃) - -20, 45 - daily - boxwidth / 2 - - - 1 - Tagesmaximum - data['start'] + timedelta(hours=18) - data['temp_out_max'] - - - - 3 - Nachtminimum - data['start'] + timedelta(hours=6) - data['temp_out_min'] - - - - Windgeschwindigkeit (km/h) - 0, 30 - hourly - - 4 - data['wind_gust'] * 3.6 - Boe - - - 3 - data['wind_ave'] * 3.6 - durchschn. - - - - 0, 30 - daily - - 5 - - data['start'] + timedelta(hours=12) - data['rain'] - Tägl. Regenfall (mm) - - - - hourly - - 2 - data['rel_pressure'] - Luftdruck (hPa) - - 960, 1050 - + + + + diff --git a/_graph_templates/28days.svg.xml b/_graph_templates/28days.svg.xml index b471d8f..739fb5e 100644 --- a/_graph_templates/28days.svg.xml +++ b/_graph_templates/28days.svg.xml @@ -1,63 +1,12 @@ 600, 800 - svg font "arial,10" + weeks=4 %Y/%m/%d - - Temperatur (℃) - -20, 45 - daily - boxwidth / 2 - - - 1 - Tagesmaximum - data['start'] + timedelta(hours=18) - data['temp_out_max'] - - - - 3 - Nachtminimum - data['start'] + timedelta(hours=6) - data['temp_out_min'] - - - - Windgeschwindigkeit (km/h) - 0, 30 - hourly - - 4 - data['wind_gust'] * 3.6 - Boe - - - 3 - data['wind_ave'] * 3.6 - durchschn. - - - - 0, 30 - daily - - 5 - - data['start'] + timedelta(hours=12) - data['rain'] - Tägl. Regenfall (mm) - - - - hourly - - 2 - data['rel_pressure'] - Luftdruck (hPa) - - 960, 1050 - + + + + diff --git a/_graph_templates/includes/daily_rain_bar.xml b/_graph_templates/includes/daily_rain_bar.xml new file mode 100644 index 0000000..992d107 --- /dev/null +++ b/_graph_templates/includes/daily_rain_bar.xml @@ -0,0 +1,12 @@ + + + 0, 30 + daily + + 5 + + data['start'] + timedelta(hours=12) + data['rain'] + Tägl. Regenfall (mm) + + diff --git a/_graph_templates/includes/daily_temp_maxmin_bar.xml b/_graph_templates/includes/daily_temp_maxmin_bar.xml new file mode 100644 index 0000000..61f6252 --- /dev/null +++ b/_graph_templates/includes/daily_temp_maxmin_bar.xml @@ -0,0 +1,21 @@ + + + Temperatur (℃) + -20, 45 + daily + boxwidth / 2 + + + 1 + Tagesmaximum + data['start'] + timedelta(hours=18) + data['temp_out_max'] + + + + 3 + Nachtminimum + data['start'] + timedelta(hours=6) + data['temp_out_min'] + + diff --git a/_graph_templates/includes/hourly_wind_gust_line.xml b/_graph_templates/includes/hourly_wind_gust_line.xml new file mode 100644 index 0000000..13f86ba --- /dev/null +++ b/_graph_templates/includes/hourly_wind_gust_line.xml @@ -0,0 +1,16 @@ + + + Windgeschwindigkeit (km/h) + 0, 30 + hourly + + 4 + data['wind_gust'] * 3.6 + Boe + + + 3 + data['wind_ave'] * 3.6 + durchschn. + +