< prev | next >

series < Tags < Home

<series>

The <series> tag specifies a series of data points to appear on a graph. As such, <series> tags can only appear as children of a <graph>. Each <series> tag must contain a single <data> tag, and may contain a <lineStyle> and a <pointStyle>. Currently, the data source for a series is limited to an MDF formatted file. Future versions may allow for additional series data sources.

The <lineStyle> and <pointStyle> tags are used to specify the visual appearance of the series. If <lineStyle> is omitted, no lines will be drawn between data points. If <lineStyle> is used, its attributes may be selectively omitted to get the default visual appearance. The <pointStyle> tag works the same way. If it is omitted, no symbols are drawn at the data points. If it is provided, attributes may be selectively omitted to get the default visual appearance. Note that if <lineStyle> and <pointStyle> are both omitted, nothing will be drawn for the series.

Attributes

attribute

default

description

visible

"true"

Is the series initially visible?

name

The site and parameter IDs for this series. Example: "NORM TAIR."

Custom product name to appear in the legend.

Children

tag

quantity

description

<data>

1 (required)

The source from which this series' data are obtained.

<lineStyle>

1 (optional)

The visual properties of the series lines. By default, no lines are drawn between data points. If the <lineStyle> tag is used, the default color is red (#FF0000) and the default line width is 1.

<pointStyle>

1 (optional)

The visual properties of data points on the series. By default, no symbols will be drawn at the data points. If the <pointStyle> tag is used, the default color is red (#FF0000) and the default symbol is "diamond".

Examples

<series visible="true">
  <data src="19990201ACME.MTS" param="TAIR" units="fahr"/>
  <lineStyle color="#00FF00" width="2"/>
  <pointStyle color="#00FF00" symbol="smallCircle"/>
</series>
         
<series visible="false">
  <data src="19990201NORM.MTS" param="SRAD"/>
  <lineStyle/>
</series>
         
<series>
  <data src="19990201SHAW.MTS" param="WDIR"/>
  <pointStyle symbol="filledDiamond"/>
</series>

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