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, thecfgraphdatatag takes the color for the data point from thecolorlistattribute specified in thecfgraphtag. If nocolorlistis present,cfgraphdatauses 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.
URLis valid only forBar,HorizonatalBar, andPiecharts, and only when thefileformatattribute of thecfgraphtag isFlash. Optional.