backgroundColor
|
Optional
|
|
Color of the area between the data background
and the chart border, around labels and around the legend.
Hexadecimal
value or supported named color; see the name list in Usage. For a
hexadecimal value, use the form "##xxxxxx" or "##xxxxxxxx",
where x = 0-9 or A-F; use two number signs or none.
|
chartHeight
|
Optional
|
240
|
Chart height; integer number of pixels.
|
chartWidth
|
Optional
|
320
|
Chart width; integer number of pixels.
|
dataBackgroundColor
|
Optional
|
white
|
Color of area around chart data.
Hexadecimal
value or supported named color; see the name list in the Usage section.
For
a hexadecimal value, use the form "##xxxxxx" or "##xxxxxxxx",
where x = 0-9 or A-F; use two number signs or none.
|
font
|
Optional
|
arial
|
Name of text font:
|
fontBold
|
Optional
|
no
|
Whether to make the text bold:
|
fontItalic
|
Optional
|
no
|
Whether to make the text italicized:
|
fontSize
|
Optional
|
11
|
Font size. If the number is not an integer,
ColdFusion rounds the number up to the next integer.
|
foregroundColor
|
Optional
|
black
|
Color of text, grid lines, and labels.
Hexadecimal
value or supported named color; see name list in the Usage section.
For
a hexadecimal value, use the form "##xxxxxx" or "##xxxxxxxx",
where x = 0-9 or A-F; use two number signs or none.
|
format
|
Optional
|
flash
|
File format in which to save the graph:
|
gridlines
|
Optional
|
10, including top
and bottom
|
Number of grid lines to display on the value
axis, including axis; positive integer.
|
labelFormat
|
Optional
|
number
|
Format for y-axis labels:
number
currency
percent
date
|
markerSize
|
Optional
|
(Automatic)
|
Size of data point marker in pixels; integer.
|
name
|
Optional
|
|
Page variable name; string. Generates 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.
|
pieSliceStyle
|
Optional
|
sliced
|
Applies to the cfchartseriestype attribute
value pie.
|
scaleFrom
|
Optional
|
Determined
by data
|
Y-axis minimum value; integer.
|
scaleTo
|
Optional
|
Determined
by data
|
Y-axis maximum value; integer.
|
seriesPlacement
|
Optional
|
default
|
Relative positions of series in charts that
have more than one data series.
|
show3D
|
Optional
|
yes
|
Whether to display the chart with three-dimensional
appearance:
|
showBorder
|
Optional
|
no
|
Whether to display a border around the chart:
|
showLegend
|
Optional
|
yes
|
Whether to display the legend if the chart
contains more than one data series:
|
showMarkers
|
Optional
|
yes
|
Whether to display markers at data points
in line, curve, and scatter graphs:
|
showXGridlines
|
Optional
|
no
|
Whether to display x-axis gridlines:
|
showYGridlines
|
Optional
|
yes
|
Whether to display y-axis gridlines:
|
sortXAxis
|
Optional
|
no
|
Whether to display column labels in alphabetic
order along the x axis:
Ignored if the xAxisType attribute
is scale.
|
style
|
Optional
|
|
XML file or string to use to specify the
style of the chart.
|
title
|
Optional
|
|
Title of the chart.
|
tipbgcolor
|
Optional
|
white
|
Background color of tips. Applies only to
Flash format graph files.
Hexadecimal value or supported
named color; see the name list in the Usage section.
For a
hexadecimal value, use the form "##xxxxxx", where
x = 0-9 or A-F; use two number signs or none.
|
tipStyle
|
Optional
|
mouseOver
|
Determines the action that opens a pop-up
window to display information about the current chart element.
mouseDown: display if the user positions
the cursor at the element and clicks the mouse. Applies only to
Flash format graph files. (For other formats, this option functions
the same as mouseOver.)
mouseOver: displays if the user positions
the cursor at the element.
none: suppresses display.
|
url
|
Optional
|
|
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$:
the value of the selected row. If none, the value is an empty string.
$ITEMLABEL$: the label of the selected item.
If none, the value is an empty string.
$SERIESLABEL$: the label of the selected
series. If none, the value is an empty string, for example: "somepage.cfm?item=$ITEMLABEL$&series=$SERIESLABEL$&value=$VALUE$
"javascript:...": executes a client-side
script.
|
xAxisTitle
|
Optional
|
|
Title that appears on the x axis; text.
|
xAxisType
|
Optional
|
category
|
Whether the x axis indicates data or is
numeric:
category: The axis indicates
the data category. Data is sorted according to the sortXAxis attribute.
scale: The axis is numeric. All cfchartdataitem attribute
values must be numeric. The x axis is automatically sorted numerically.
|
xOffset
|
Optional
|
0.1
|
Number of units by which to display the
chart as angled, horizontally. Applies if show3D="yes".
The number can be between ‑1 and 1, where "-1" specifies 90 degrees
left and "1" specifies 90 degrees right.
|
yAxisTitle
|
Optional
|
|
Title of the y axis; text.
|
yAxisType
|
Optional
|
category
|
Currently has no effect, as the y axis is
always used for data values.
|
yOffset
|
Optional
|
0.1
|
Number of units by which to display the
chart as angled, vertically. Applies if show3D="yes".
The number can be between ‑1 and 1, where "-1" specifies 90 degrees
left and "1" specifies 90 degrees right.
|