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, 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.-
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, andPiecharts, and only when theFILEFORMATattribute of theCFGRAPHtag isFlash. 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.
Read now
Unlock full access