MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual page 90

Table of Contents

Advertisement

70
4
Reviewing the code
The following table describes the highlighted code and its function:
Code
title = "Average Salary by
depth = 10
scaleTo = 100000
itemLabelSize=16
itemLabelOrientation="horizontal"
colorList = "red,orange,
gridLines = 4
barSpacing = 15
Return to your browser and enter the following URL to view graphdata.cfm:
http://127.0.0.1/myapps/graphdata.cfm
Department"
green,teal,purple"
Chapter 5 Graphing Data
Description
Put a title above the graph.
Give the graph 10 pixels of 3D "depth"
shadow.
Set the maximum value of the vertical axis
to 100000. The minimum value is the
default, 0.
Make the labels on the horizontal axis 16
points.
Make the labels horizontal on the horizontal
axis.
Get the bar colors from a custom list. In this
example, the graph does not use purple
because there are only four data points.
Display four grid lines between the top and
bottom of the graph.
Separate the bars by 15 pixels of
background.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents