Name
CFGRAPHDATA — New in ColdFusion 5.0
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.
Attributes
-
VALUE="
data_point_value
"
The data point value to be graphed. Required.
-
ITEM="
data_point_label
"
Label for the data point to be graphed. Optional.
-
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, theCFGRAPHDATA
tag takes the color for the data point from theCOLORLIST
attribute specified in theCFGRAPH
tag. If noCOLORLIST
is present,CFGRAPHDATA
uses a color from ColdFusion’s default list of colors.-
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
, andPie
charts, and only when theFILEFORMAT
attribute of theCFGRAPH
tag isFlash
. Optional.
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.