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

Example#

WaterfallChart/Waterfall Chart.png

Source#

[{ WaterfallChartPlugin title='Waterfall Chart' imap=true
:Country|String, V1, V2, V3
France, 5, 5, 25
England, 10, 5, 35
}]
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.

Category Plot Parameters

orientation
Value: PlotOrientation. Sets the orientation for the plot.
columnrenderingorder
Value: SortOrder. Sets the order in which the columns should be rendered.
rowrenderingorder
Value: SortOrder. Sets the order in which the rows should be rendered.
domaingridlinesvisible
Value: boolean. Sets the flag that controls whether or not grid-lines are drawn against the
domain axis.
domaingridlinestroke
Value: Stroke. Sets the stroke used to draw grid-lines against the domain axis.
domaingridlinepaint
Value: Paint. Sets the paint used to draw the grid-lines (if any) against the domain
axis.
rangegridlinesvisible
Value: boolean. Sets the flag that controls whether or not grid-lines are drawn against the
range axis.
rangegridlinestroke
Value: Stroke. Sets the stroke used to draw the grid-lines against the range axis.
rangegridlinepaint
Value: Paint. Sets the paint used to draw the grid lines against the range axis.
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 pen-style (Stroke) used to draw the crosshairs (if visible).
rangecrosshairpaint
Value: Paint. Sets the Paint used to color the crosshairs (if visible).
weight
Value: int. Sets the weight for the plot.
anchorValue
Value: double. Sets the anchor value.


The following free excel macro allows to do waterfall charts with one click: http://excelx2.com They also have other macros for matrix charts, etc...

--AnonymousCoward, 15-Aug-2006

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-6) was last changed on 13-Jun-2008 07:12 by 220.227.165.210