< prev | next >

graph < Tags < Home

<graph>

The <graph> tag specifies a time series graph. It can only be used as the immediate child of the <WxML> tag. Multiple instances of <graph> tags may be included within the <WxML> tag. However, the WxScope Plugin will only recognize the first <map> or <graph> that it finds. Future WxML-based software may recognize additional instances of <map> and <graph> tags within a single document.

A <graph> may contain a single <time> tag, and may contain zero or more <axis> and <series> tags. If the <time> tag is omitted, defaults will be applied for the time axis. A vertical axis will be automatically created for any unit of measure used by a series on the graph. If the <axis> tag for a particular axis is omitted, defaults will be applied for that axis.

Attributes

attribute

default

description

bgcolor

"#FFFFFF"

The background color of the graph.

name

""

The name of the graph that appears in the first line of the legend.

Children

tag

quantity

description

<time>

1 (optional)

The time range covered this graph. By default, the time axis will automatic adjust to the data sets plotted on the graph.

<axis>

0 or more

Specifies a vertical axis on which data points may be plotted for a particular unit of measure.

<series>

0 or more

Specifies a series of data points to appear on the graph.

Examples

<WxML>
  <graph bgcolor="#FFAACC" name="Norman Air Temps">
    <time start="199902010000" end="199902012345"
      timeZone="Greenwich"/>
    <axis units="fahr" low="32.0"/>
    <series visible="true">
      <data src="19990201NORM.MTS" param="TAIR" units="fahr"/>
    </series>
  </graph>
<WxML>
         
<WxML>
  <graph>
    <time/>
  </graph>
</WxML>

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.