25485 The example code on the CFML Reference page for cfgraph type="line"
tag (CFDOCS/CFML_Reference/Tags38.html) should does not work as written. The
correct example code is as follows


<cfset Q1income=7600000>
<cfset Q2income=870000>
<cfset Q3income=930000>
<cfset Q4income=860000>

<cfgraph type="Line"
  title="Quarterly Income"
  fill="yes">
  <cfgraphdata item="Q1" value="#Q1income#">
  <cfgraphdata item="Q2" value="#Q2income#">
  <cfgraphdata item="Q3" value="#Q3income#">
  <cfgraphdata item="Q3" value="#Q3income#">
</cfgraph>


Also, the example code on the reference page for cfgraphdata
(CFDOCS/CFML_Reference/Tags40.html) should be as follwos:


<cfset NewIncome = 1200000>
<cfset UsedIncome = 870000>
<cfset Leasingincome = 930000>
<cfset ServiceIncome = 760000>

<cfgraph type = "bar" title = "Income by Department">
  <cfgraphdata item="New Vehicle Sales" value="#NewIncome#">
  <cfgraphdata item="Used Vehicle Sales" value="#UsedIncome#">
  <cfgraphdata item="Leasing" value="#LeasingIncome#">
  <cfgraphdata item="Service" value="#ServiceIncome#">
</cfgraph>



Ann Harrell
Harrell Computer Enterprises
Phone: 219.342.0618
eFax: 603.843.9212


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to