User Guide

Table Of Contents
Controlling chart appearance 745
Labels
font
fontSize
fontBold
frontItalic
labelFormat
xAxisTitle
yAxisTitle
The font attribute specifies the font for
all text. The default value is
Arial. If you
are using a double-byte character set
on UNIX, or using a double-byte
character set in Windows with a file
type of Flash, you must specify
ArialUnicodeMs as the font.
Note: If a chart attempts to use a font
that is not installed on the ColdFusion
server, it uses a different font that is
available. Also, if you do not specify the
font, characters that are not ASCII,
such as Japanese, Chinese, Korean
and so on, may not display properly.
The
fontSize specifies an Integer font
size used for all text. The default value
is 11.
The
fontBold attribute specifies to
display all text as bold. The default
value is
no.
The
fontItalic attribute specifies to
display all text as italic. The default
value is
no.
The
labelFormat attribute specifies the
format of the y-axis labels, number,
currency, percent, or date. The default
value is
number.
The
xAxisTitle and yAxisTitle
attributes specify the title for each axis.
All
Border
showBorder
Use the showBorder attribute to draw a
border around the chart. The border
color is specified by the
foregroundColor attribute. The default
value is
no.
All
Grid lines
showXGridlines
showYGridlines
gridLines
Use the showXGridlines and
showYGridlines attributes to display
x-axis and y-axis grid lines. The default
value
No for x-axis gridlines, and Yes for
y-axis gridlines.
The
gridLines attribute specifies the
total number of grid lines on the value
axis, including the axis itself. The value
of each grid line appears along the
value axis. The
cfchart tag displays
horizontal grid lines only. A value of 0
(the default) means no grid lines.
Area
Bar
Cone
Curve
Cylinder
Horizontalbar
Line
Pyramid
Scatter
Step
Slice style
pieSliceStyle
Displays the pie chart as solid or sliced.
The default value is
sliced.
Pie
Chart
characteristic
Attributes used Description Chart
type