User Guide

cfchart 73
Usage
The cfchart tag defines a container in which a graph displays: its height, width, background
color, labels, and so on. The
cfchartseries tag defines the style in which data displays: bar, line,
pie, and so on. The
cfchartdata tag defines a data point.
tipStyle mouseOver Determines the action that opens a popup
window to display information about the
current chart element.
mouseDown: displays if the user positions
the cursor at the element and clicks the
mouse down. Applies only to Flash format
graph file. (For other formats, this option
functions the same as
mouseOver.)
mouseOver: displays if the user positions
the cursor at the element
none: suppresses display
tipbgcolor white Applies only to Flash format graph file.
Hex value or supported named color; see
name list in the Usage section.
For a hex value, use the form
"##xxxxxx",
where x = 0-9 or A-F; use two pound signs or
none.
showMarkers yes Applies to
chartseries type attribute values
line, curve and scatter.
yes: display markers at data points
no
markerSize (Automatic) Size of data point marker. in pixels. Integer.
pieSliceStyle sliced Applies to
chartseries type attribute value
pie.
solid: displays pie as if unsliced
sliced: displays pie as if sliced
url URL to open if the user clicks item in a data
series; the onClick destination page.
You can specify variables within the URL
string; ColdFusion passes current values of
the variables.
$VALUE$: value of selected row. If none,
value is empty string.
$ITEMLABEL$: label of selected item. If none,
value is empty string.
$SERIESLABEL$: label of selected series. If
none, value is empty string.
For example:
“somepage.cfm?item=$ITEMLABEL$&series=$
SERIESLABEL$&value=$VALUE$”
"javascript:...": executes a client-side script
name Page variable name. String. Generates the
the graph as binary data and assigns it to the
specified variable. Suppresses chart display.
You can use the
name value in the cffile tag
to write the chart to a file.
Attribute Req/Opt Default Description