User Guide

Table Of Contents
746 Chapter 31: Creating Charts and Graphs
Markers
showMarkers
markerSize
The showMarkers attribute displays
markers at the data points for two
dimensional line, curve, and scatter
charts. The default value is
yes.
The
markerSize attribute specifies an
integer number of pixels for the marker
size. ColdFusion determines the
default value.
All
Value axis
scaleFrom
scaleTo
The minimum and maximum points on
the data axis.
By default, the minimum is
0 or the
lowest negative chart data value, and
the maximum is the largest data value.
Note: If you specify a
scaleFrom or
scaleTo attribute that would result in
cropping the chart,
cfchart uses a
value that shows the entire chart
without cropping.
Area
Bar
Cone
Curve
Cylinder
Horizontalbar
Line
Pyramid
Scatter
Step
Axis type
XAxisType
sortXAxis
Whether the x-axis corresponds to a
numeric scale or identifies different
categories, and how to sort the items
on the axis.
If the
XAxisType attribute value is scale,
the x-axis is numeric. All
cfchartdata
item attribute values must be numeric,
and the axis is automatically sorted
numerically. The
scale value lets you
create graphs of numeric relationships,
such as population against age.
If the attribute value is
category (the
default), the axis indicates the data
category.
The
sortXAxis attribute determines the
order of items when you specify the
cfchartdata item attribute, whose
values are treated as text. By default,
the items are displayed in the order in
which they are entered in the first chart
series.
Area
Bar
Cone
Curve
Cylinder
Horizontalbar
Line
Pyramid
Scatter
Step
3D appearance
show3D
xOffset
yOffset
The show3D attribute displays the chart
in three dimensions. The default value
is
No.
The
xOffset and yOffset attributes
specify the amount to which the chart
should be rotated on a horizontal axis
(
xOffset) or vertical axis (yOffset). The
value
0 is flat (no rotation), -1 and 1 are
for a full 90 degree rotation left
(
-1) or right (1). The default value is 1.
All
Chart
characteristic
Attributes used Description Chart
type