Newer
Older
weather-servlet / src / main / resources / windDir.xml
<rrd_graph_def>
  <options>
    <vertical_label>Degrees from North</vertical_label>
  </options>
  <datasources>
    <def>
      <name>windDir</name>
      <rrd>${rrdFile}</rrd>
      <source>windDir</source>
      <cf>AVERAGE</cf>
    </def>
  </datasources>
  <graph>
    <line>
      <datasource>windDir</datasource>
      <color>#FF0000</color>
      <legend>Wind direction</legend>
    </line>
  </graph>
</rrd_graph_def>