User Guide
cfchart 71
Attributes
Attribute Req/Opt Default Description
format flash File format in which to save graph.
• flash
• jpg
• png
chartHeight 240 Chart height; integer number of pixels
chartWidth 320 Chart width; integer number of pixels
scaleFrom Determined by
data
Y-axis minimum value; integer.
scaleTo Determined by
data
Y-axis maximum value; integer
showXGridlines no • yes: display X-axis gridlines
• no: hide X-axis gridlines
showYGridlines yes • yes: display Y-axis gridlines
• no: hide Y-axis gridlines
gridlines 10, including
top and bottom
Number of grid lines to display on value axis,
including axis; positive integer.
seriesPlacement default Applies to charts that have more than one
data series. Relative positions of series.
• default: ColdFusion determines relative
positions, based on graph types
• cluster
• stacked
• percent
foregroundColor black Color of text, gridlines, and labels.
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.
dataBackgroundColor white Color of area around chart data.
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.
showBorder no • yes
• no
font arial Name of text font
• arial
• times
• courier
• arialunicodeMS. This option is required, if
you are using a double-byte character set
on UNIX, or using a double-byte character
set on Windows with a file type of Flash.