<cfgraphdata>

Specifies a data point to be displayed by a cfgraph tag.

Usage

<cfgraphdata
    [item=string]
    [color=string]
    [url=string]
    value=string
>

This tag cannot have a body.

This tag is also supported within cfscript

Attributes

Attribute Description
item
(string, optional)

The item label for the data point. The item labels appear on the horizontal axis of Line and Bar charts, the vertical axis of Horizontal Bar charts, and in the legend of Pie charts.

color
(string, optional)

The color to use when graphing the data point. The default is to use the values from the cfgraph tag colorlist attribute or the built-in default list of colors. Line graphs ignore this attribute.

url
(string, optional)

A URL to load when the user clicks the data point. This attribute works with Pie, Bar, and HorizontalBar charts. This attribute has an effect only if the graph is in Flash file format.

value
(string, required)

Value to be represented by the data point.

Examples

There are currently no examples for this tag.