Thanks All!!! Got it working finally! I am upgrading to MX 7.1, killer graphs! Just getting used to new attributes, tons of them.
Randy>Randy G wrote: > >>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. >> >> >If you've got 24 columns numbered colname1 to colname24 then you need to >reference the query as if it were a struct. > ><cfchart> ><cfchartseries type="bar"> > <cfloop index="x" from="1" to="24"> > <cfchartdata item="#x#" value="#yourqueryname["colname"&x][1]#"> > </cfloop> > </cfchartseries> ></cfchart> > >Regards > >Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:772 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
