cewolf


Standard Syntax:
     <%@ taglib prefix="cewolf" uri="http://cewolf.sourceforge.net/taglib/cewolf.tld" %>

XML Syntax:
     <anyxmlelement xmlns:cewolf="http://cewolf.sourceforge.net/taglib/cewolf.tld" />

This tag library is designed to describe charts of all kinds.

Tag Library Information
Display NameNone
Version1.1
Short Namecewolf
URIhttp://cewolf.sourceforge.net/taglib/cewolf.tld
 

Tag Summary
plotThe plot tag is nested inside a complex chart to define a nested or layered plot instance.
imgThis tag is a specialized HTML img tag. It renders the chart which has been specified by a <chart> tag in the same page.
optional childs: <map>
imgurlThis tag can be used as the src attribute of a HTML img tag. E.g.: <img src='<cewolf:imgurl chartid="foobar" renderer="cewolf" width="100" height="100"/>'> If the var attribute is used the URL is exposed as a page attribute of type String.
chartRoot tag of a chart description.
optional childs: <chartpostprocessor>
overlaidchartRoot tag of a overlaid-chart description.
optional childs: <chartpostprocessor>
combinedchartRoot tag of a combined-chart description.
optional childs: <chartpostprocessor>
legendThis tag is used to render the legend of a chart in a separate image. It assumes that somewhere else in the JSP a chart tag defines a chart with the same ID as this legend tag.
dataA data tag provides all information needed to retrieve the data which are needed by the chart. Current version only supports data provided by a DatasetProducer. In future versions there will be tags to provide data from a datasource (e.g. via SQL).
optional childs: <producer>
producerA data tag provides all information needed to retrieve the data which are needed by the chart. Current version only supports data provided by a DatasetProducer. In future versions there will be tags to provide data from a datasource (e.g. via SQL).
optional childs: <param>
chartpostprocessorA chart postprocessor tag references an object of type ChartPostProcessor which must be defined in pageContext under the provided ID. This object is called back after chart generation to post process the chart in any manner.
optional childs: <param>
paramName/value-pair to parameterize a surrounding tag whose handler must implement the Parameterized interface.
gradientpaintThe gradientpaint tag provides a way to fill a shape with a linear color gradient pattern. If Point P1 with Color C1 and Point P2 with Color C2 are specified in user space, the Color on the P1, P2 connecting line is proportionally changed from C1 to C2. Any point P not on the extended P1, P2 connecting line has the color of the point P' that is the perpendicular projection of P on the extended P1, P2 connecting line. Points on the extended line outside of the P1, P2 segment can be colored in one of two ways.
  • If the gradient is cyclic then the points on the extended P1, P2 connecting line cycle back and forth between the colors C1 and C2.
  • If the gradient is acyclic then points on the P1 side of the segment have the constant Color C1 while points on the P2 side have the constant Color C2. The two colors are defined in a nested point tag of this tag.
pointDefines a point with x and y coordinates and a color.
colorpaintFills the area defined by the parent tag with a color.
texturepaintThe texturepaint tag provides a way to fill the area of the parent tag with a texture that is specified as an image. The texture is anchored to the upper left corner of the parent tags area.
mapThis tag defines an image and tooltip map for the parent img tag.
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.