User Guide

72 Chapter 2: ColdFusion Tags
fontSize 11 Font size; integer
fontBold no yes
no
fontItalic no Yes
No
labelFormat number Format for Y-axis labels.
number
currency
percent
date
xAxisTitle text; X-axis title
yAxisTitle text; Y-axis title
xAxisType category category The axis indicates the data
category. Data is sorted according to the
sortXAxis attribute.
scale The axis is numeric. All
cfchartdata
item attribute values must numeric. The X
axis is automatically sorted numerically.
yAxisType category Currently has no effect, as Y axis is always
used for data values. Valid values are
category and scale
sortXAxis no yes: display column labels in alphabetic
order along X-axis
no
Ignored if
xAxisType attribute is scale.
show3D no yes: display chart with three-dimensional
appearance
no
xOffset 0.1 Applies if
show3D="yes". Number of units by
which to display the chart as angled,
horizontally.
A number in the range -1 – 1, where "-1"
specifies 90 degrees left and "1" specifies
90 degrees right
yOffset 0.1 Applies if
show3D="yes". Number of units by
which to display the chart as angled,
vertically.
A number in the range -1 – 1, where "-1"
specifies 90 degrees down, and "1"
specifies 90 degrees up
rotated no yes: rotate chart 90 degrees. For a
horizontal bar chart, use this option.
no
showLegend yes yes: if chart contains more than one data
series, display legend
no
Attribute Req/Opt Default Description