I have been working with ColdFusion for quite awhile and I recently was
tasked with creating a graph/chart for someone. Being from the old school
CF, I used CFGRAPH, now it appears that I need to use CFCHART.
Here is the issue.
I am in the midst of looping through 24 columns in an SQL Database, each
column can have an input from 0 - 10 depending on the users thoughts about
their knowledge level of the subject matter. As I loop through I get the
same values entered in row 1 across the horizontal or x axis. Attached
please find code.
SAMPLE CODE:
<cfchart>
<cfchartseries type="bar">
<cfloop index="x" from="#1#" to="#24#">
<cfchartdata item="#x#" value="#QUERY.COLUMN1#">
</cfloop>
</cfchartseries>
</cfchart>
Please let me know where I am going wrong?
Thanks,
RG
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:761
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54