cfchartseries with cfchart
cfchartseries.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfchartseries tag: how to use cfchartseries with cfchart in coldfusion</title>
</head>
<body>
<h2 style="color:DimGray; font-style:italic">cfchartseries example: how to use</h2>
<hr width="700" align="left" color="LightPink" />
<br />
<cfquery name="qEmployee" datasource="cfdocexamples" maxrows="8">
SELECT FirstName, LastName, Salary FROM EMPLOYEE
</cfquery>
<cfchart
format="jpg"
xaxistitle="First Name"
yaxistitle="Salary"
chartheight="400"
chartwidth="700"
backgroundcolor="2F4F4F"
foregroundcolor="FFFFFF"
show3d="yes"
>
<cfchartseries
query="qEmployee"
type="bar"
itemcolumn="FirstName"
valuecolumn="Salary"
seriescolor="556B2F"
>
</cfchartseries>
</cfchart>
</body>
</html>