25 lines
877 B
XML
25 lines
877 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<graph xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<title>Wind über die letzten 7 Tage (km/h)</title>
|
|
<xi:include href="includes/format_svg.xml" parse="xml" />
|
|
<duration>hours=24 * 7</duration>
|
|
<windrose>
|
|
<title>Tagsüber</title>
|
|
<source>raw</source>
|
|
<xcalc>data['idx'].hour >= 9 and data['idx'].hour < 21</xcalc>
|
|
<ycalc>data['wind_ave'] * 3.6</ycalc>
|
|
<yrange>31</yrange>
|
|
<threshold>1, 5, 12, 18, 28, 37, 48</threshold>
|
|
<colour>0, 6, 7, 2, 5, 3, 4, 1</colour>
|
|
</windrose>
|
|
<windrose>
|
|
<title>Nachts</title>
|
|
<source>raw</source>
|
|
<xcalc>data['idx'].hour < 9 or data['idx'].hour >= 21</xcalc>
|
|
<ycalc>data['wind_ave'] * 3.6</ycalc>
|
|
<yrange>31</yrange>
|
|
<threshold>1, 5, 12, 18, 28, 37, 48</threshold>
|
|
<colour>0, 6, 7, 2, 5, 3, 4, 1</colour>
|
|
</windrose>
|
|
</graph>
|