This plugin is part of the ImageGen family.
See the main page for usage, download and installation instructions.

Example#

DefectsOverTime.png

Source#

[{StackedXYAreaChartPlugin title='DefectsOverTime' legend='true' width='600'

:Date|Day|MM/dd/yyyy,Alert,High,Medium,Low
03/22/2005,0,17,13,16
03/23/2005,0,17,14,17
03/24/2005,0,19,13,17
03/25/2005,0,19,13,16
03/28/2005,0,19,13,16
03/29/2005,0,20,14,16
03/30/2005,0,19,16,21
03/31/2005,0,17,16,21
04/01/2005,0,14,17,20
04/04/2005,0,15,17,20
04/05/2005,0,15,16,18
04/07/2005,0,15,	17,	19
04/08/2005,0,14,	15,	15
04/11/2005,0,13,	14,	15
04/12/2005,0,14,	16,	16
04/14/2005,0,14,  11,     14
04/15/2005,0,15,  11,     13 
04/17/2005,0,14,	9,	10
04/18/2005,0,15,  9,       8
04/19/2005,0,16,  5,       7
04/19/2005,0,15,	3,	 5
04/24/2005,0,	19,	0,	0
04/26/2005,0,	17,	0,	0
04/27/2005,0,	16,	0,	0
04/28/2005,0,	14,	0,	0
04/29/2005,0,	9,	0,	0
05/01/2005,0,	7,	0,	0
05/02/2005,0,	4,	0,	0
05/04/2005,0,	2,	0,	0
05/06/2005,0,	1,	0,	0
05/09/2005,0,	0,	0,	0
}]

title
required, the name of the graph, will be used as the root name for the file attachments generated by the plugin.
imap
optional, defaults to 'false', set to 'true' to have an image map generated (assuming the associated library supports it). In that case, node names will be interpreted as wiki page names.
tooltips
optional, defaults to 'false', set to 'true' to have tooltips generated (assuming the associated library supports it).
page
optional, defaults to the current page and is the page to which the generated data files are attached.
output
optional, defaults to 'png'. It indicates the image format generated. It must be a supported output type by the graphical application or library, and it must be displayable using the HTML img tag. In this context, png, jpg, and gif are the most useful.
source
optional, the name of the attachment file that contains the graph data.
_body
required, unless source is specified. The plugin body should contain the graph data, in the appropriate syntax for the specific plugin. It might contain nested plugin invocations; those are evaluated and the resulting data is used. Note that the plugin must return data in the expected graph data syntax, not in HTML. See this example for details.
xaxislabel
optional, label for the horizontal axis.
yaxislabel
optional, label for the vertical axis.
height
optional, height of generated chart in pixels.
width
optional, width of generated chart in pixels.
legend
optional, display chart legend.
threed
optional, render as a three dimensional chart (if supported).
Renderer
basefillpaint
Value: Paint. Sets the base fill paint.
baseitemlabelfont
Value: Font. Sets the base item label font.
baseitemlabelpaint
Value: Paint. Sets the base item label paint.
baseitemlabelsvisible
Value: boolean. Sets the base flag that controls whether or not item labels are visible.
baseoutlinepaint
Value: Paint. Sets the base outline paint.
baseoutlinestroke
Value: Stroke. Sets the base outline stroke.
outlinestroke
Value: Stroke. Sets the outline stroke for ALL series.
basepaint
Value: Paint. Sets the base paint.
baseseriesvisible
Value: boolean. Sets the base visibility.
baseseriesvisibleinlegend
Value: boolean. Sets the base visibility in the legend.
basestroke
Value: Stroke. Sets the base stroke.
fillpaint
Value: Paint. Sets the fill paint for ALL series (optional).
itemlabelfont
Value: Font. Sets the item label font for ALL series. You can set this to null if you prefer to set the font on a per series basis.
itemlabelpaint
Value: Paint. Sets the item label paint for ALL series.
itemlabelsvisible
Value: boolean. Sets the visibility of the item labels for ALL series.
outlinepaint
Value: Paint. Sets the outline paint for ALL series (optional).
outlinestroke
Value: Stroke. Sets the outline stroke for ALL series.
paint
Value: Paint. Sets the paint to be used for ALL series,. If this is null, the renderer will use the paint for the series.
seriesvisible
Value: boolean. Sets the flag that controls the visibility of ALL series. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply.
stroke
Value: Stroke. Sets the stroke for ALL series.
seriesfillpaint
Value: CSV list of Paint. Set the paint values used for the listed series fill.
seriesoutlinestroke
Value: CSV list of Stroke. Set the outline stroke values used the listed for series.
seriespaint
Value: CSV list of Paint. Set the paint values used for the listed series.
seriesvisible
Value: CSV list of boolean. Set the flag values that control whether the listed series are visible.
seriesvisibleinlegend
Value: CSV list of boolean. Set the flag values that control whether the listed series are visible in the legend.
seriesoutlinepaint
Value: CSV list of Paint. Set the paint values used for the listed series outline.

Plot Parameters
backgroundpaint
Value: Paint. Sets the background color of the plot area.
backgroundalpha
Value: float. Sets the alpha transparency of the plot area background.
nodatamessage
Value: string. Sets the message that is displayed when the dataset is empty or null.
outlinepaint
Value: Paint.
Sets the paint used to draw the outline of the plot area. If you set this attribute to null, no outline will be drawn.

XY Plot Parameters

orientation
Value: PlotOrientation. Sets the orientation for the plot.
datasetrenderingorder
Value: DatasetRenderingOrder. Sets the
rendering order. By default, the plot renders the primary dataset last (so that the primary dataset overlays the secondary datasets). You can reverse this if you want to.
seriesrenderingorder
Value: SeriesRenderingOrder. Sets the series
order. By default, the plot renders the primary series last (so that the primary series appears to be on top). You can reverse this if you want to.
weight
Value: int. Sets the weight for the plot.
domaingridlinesvisible
Value: boolean. Sets the flag that controls whether or
not the domain grid-lines are visible.
domaingridlinestroke
Value: Stroke. Sets the stroke for the grid lines plotted against the domain axis.
domaingridlinepaint
Value: Paint. Sets the paint for the grid lines plotted against the domain axis.
rangegridlinesvisible
Value: boolean. Sets the flag that controls whether or not the range axis grid lines are
visible.
rangegridlinestroke
Value: Stroke. Sets the stroke for the grid lines plotted against the range axis.
rangegridlinepaint
Value: Paint. Sets the paint for the grid lines plotted against the range axis.
rangezerobaselinevisible
Value: boolean. Sets the flag that controls whether or not the zero baseline is displayed
for the range axis.
rangezerobaselinestroke
Value: Stroke. Sets the stroke for the zero baseline for the range axis.
rangezerobaselinepaint
Value: Paint. Sets the paint for the zero baseline plotted against the range axis.
domaintickbandpaint
Value: Paint. Sets the paint for the domain tick bands.
rangetickbandpaint
Value: Paint. Sets the paint for the range tick bands.
domaincrosshairvisible
Value: boolean. Sets the flag indicating whether or not the domain crosshair is visible.
domaincrosshairlockedondata
Value: boolean. Sets the flag indicating whether or not the domain crosshair should
"lock-on" to actual data values.
domaincrosshairValue
Value: double. Sets the domain crosshair value (provided that the domain crosshair is visible).
domaincrosshairstroke
Value: Stroke. Sets the Stroke used to draw the crosshairs (if visible).
domaincrosshairpaint
Value: Paint. Sets the Paint used to color the crosshairs (if visible).
rangecrosshairvisible
Value: boolean. Sets the flag indicating whether or not the range crosshair is visible.
rangecrosshairlockedondata
Value: boolean. Sets the flag indicating whether or not the range crosshair should
"lock-on" to actual data values.
rangecrosshairValue
Value: double. Sets the domain crosshair value.
rangecrosshairstroke
Value: Stroke. Sets the Stroke used to draw the crosshairs (if visible).
rangecrosshairpaint
Value: Paint. Sets the Paint used to color the crosshairs (if visible).

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
DefectsOverTime.png 15.8 kB 1 02-Jun-2005 06:24 NascifAbousalhNeto
« This page (revision-9) was last changed on 10-Aug-2006 00:07 by Nascif Abousalh-Neto