Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1000

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
Chart characteristic
Attributes used
Multiple series
seriesLabel
seriesColor
Paint
paintStyle
Data point colors
colorList
Data markers
markerStyle
Labels
dataLabelStyle
Creating your own chart styles
You can create your own chart styles by doing either of the following:
• Modifying the chart style XML files
• Using WebCharts3D to create chart styles
Modifying the chart style XML files
You can modify the chart styles included with ColdFusion to create your own chart styles. The files that contain the
style information are XML files located in the cf_root\charting\styles directory. Modify only attributes specified in the
file. To specify additional attributes, follow the instructions in the section
on page 996.
Note: Two XML files exist for each default chart style. For example, the beige style for pie charts is defined in the
beige_pie.xml file; the beige style for all other types of charts is defined in the beige.xml file.
1
Open the XML file that you want to modify, for example beige.xml.
Modify the file contents.
2
Save the file with a different name; for example myBeige.xml.
3
Description
The
attribute specifies the text that displays for the
seriesLabel
series label.
The
attribute specifies a single color of the bar, line,
seriesColor
pyramid, and so on. For pie charts, the color is that of the first slice.
Subsequent slices are automatically colored based on the specified
initial color, or use the
colorList
Specifies the way color is applied to a data series. You can specify
solid color, raised button, linear gradient fill with a light center and
darker outer edge, and gradient fill on lighter version of color. The
default value is
solid
.
A comma-separated list of colors to use for each data point for bar,
pyramid, area, horizontalbar, cone, cylinder, step, and pie charts.
You can specify 16 color names, use any valid HTML color format, or
specify an 8-digit hexadecimal value to specify the RGB value and
transparency. If you use numeric format, use double number signs;
for example, blue or ##FF33CC. To specify the color and
transparency, use the format ##xxFF33CC, where xx indicates the
transparency. The value FF indicates opaque; the value 00 indicates
transparent. For the complete list of colors, see Configuring and
Administering ColdFusion.
If you specify fewer colors than data points, the colors repeat. If you
specify more colors than data points, the extra colors are not used.
Specifies the shape used to mark the data point. Shapes include
circle
,
diamond
,
letterx
,
mcross
and
triangle
. Supported for two-dimensional charts. The default
value is
rectangle
.
Specifies the way in which the color is applied to the item in the
series Styles include
None,Value
,
Pattern
.
Last updated 1/20/2012
Chart type
All
attribute.
All
Pie
Curve
,
rcross
,
rectangle
,
snow
,
Line
Scatter
All
Rowlabel
,
Columnlabel
, and
"Using WebCharts3D to create chart
995
styles"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents