< prev | next >

legend < Attributes < Home

legend

The legend attribute is used within the <plugin> tag to specify the positioning of the WxScope Plugin legend. By default, the WxScope Plugin displays a legend to the left of its map or graph. However, it can be configured to display the legend on the right, or to display the map or graph without a legend. The value of the legend attribute should be one of following:

value

description

left

Display the legend to the left of the map or graph.

right

Display the legend to the right of the map or graph.

false

Don't display the legend.

Supporting Tags

The legend attribute is supported by the <plugin> tag.

Examples

<plugin legend="false"/>
         
<plugin legend="left"/>
         
<plugin legend="right"/>

Notes

The <plugin> tag and its attributes are provided in WxML as an alternative to using HTML <EMBED> tag attributes with the WxScope Plugin. The same results can be achieved by using the LEGEND attribute within the HTML <EMBED> tag for an embedded instance of the plugin. The WxML legend attribute is particularly useful when displaying the plugin in full-page mode, since HTML attributes cannot be provided in this case.

The only legal values for the legend attribute are "left", "right", and "false". There is no standard behavior defined for legend attributes with other values. The behavior of undefined values may change in future versions of the WxScope Plugin. The <plugin> tag and its attributes are only relevant to the WxScope Plugin. Future software packages will likely ignore them.

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