cfchartdata

Used with the cfchart and cfchartseries tags. This tag defines
chart data points. Its data is submitted to the cfchartseries
tag.

  <cfchartdata item="" value="">

 cfchartdata(item="", value="");

cfchartdata Attribute Reference

item string
Required

string; data point name

value string
Required

number or expression; data point value

Examples
Sample code using the cfchartdata tag

A Simple bar chart with hard coded data.

<cfchart xAxisTitle="Department" yAxisTitle="Salary Average">
	<cfchartseries type="bar">
		<cfchartdata item="Finance" value="75000">
		<cfchartdata item="Sales" value="120000">
		<cfchartdata item="IT" value="83000">
		<cfchartdata item="Facilities" value="45000">
	</cfchartseries>
</cfchart>

Fork me on GitHub