Skip to Main Content
Programming ColdFusion MX, 2nd Edition
book

Programming ColdFusion MX, 2nd Edition

by Rob Brooks-Bilson
August 2003
Intermediate to advanced content levelIntermediate to advanced
1140 pages
68h 45m
English
O'Reilly Media, Inc.
Content preview from Programming ColdFusion MX, 2nd Edition

Name

cfgraphdata

Synopsis

<cfgraph>
  [<cfgraphdata>]
  ...
</cfgraph>

Used as a child tag of cfgraph to define a single data point to graph. cfgraphdata tags may be used alone within a cfgraph tag block or in combination with data from a query. This tag has been replaced by cfchart, cfchartseries, and cfchartdata in ColdFusion MX. It is still functional for backward compatibility; however, it may not function exactly as it did in ColdFusion 5. It is recommended you port your cfgraph/cfgraphdata code to cfchart.

Attributes

value=" data_point_value "

The data point value to be graphed. Required.

color=" color "

Color associated with the data point. Colors may be specified by name or hex code in the form color="##FFFFCC". The double pound signs keep ColdFusion from throwing an error. Optional. By default, the cfgraphdata tag takes the color for the data point from the colorlist attribute specified in the cfgraph tag. If no colorlist is present, cfgraphdata uses a color from ColdFusion’s default list of colors.

item=" data_point_label "

Label for the data point to be graphed. Optional.

URL=" URL "

A URL (including any relevant URL parameters) to link to when a data point on the chart is clicked. URL is valid only for Bar, HorizonatalBar, and Pie charts, and only when the fileformat attribute of the cfgraph tag is Flash. Optional.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming ColdFusion

Programming ColdFusion

Rob Brooks-Bilson

Publisher Resources

ISBN: 0596003803Supplemental ContentErrata Page