Hye all..
In my html, it display the value of average for each question in table. So the problem is the value of average for each question is in the looping function. So how can I pass the value of average for each question into bar chart which is out of the looping?
This is chart code
In my html, it display the value of average for each question in table. So the problem is the value of average for each question is in the looping function. So how can I pass the value of average for each question into bar chart which is out of the looping?
Code:
<form name="survey_form" method="post" action="#currentfile#"> <table> <cfloop query="GetDetailQuest"> <tr> <td class="cssNormal" align="center">#numberFormat(totAVG,"0.00" )#</td> </tr> </cfloop> </table>
Code:
<cfchart format="png" scalefrom="0" scaleto="10" show3D="Yes" chartWidth="350" chartHeight="390"> <cfchartseries type="bar" seriescolor="blue"> <cfloop query="GetDetailQuest"> <cfchartdata item="#quest_eng#" value="#numberFormat(totAVG,"0.00" )#"> </cfloop> </cfchartseries> </cfchart>
Comment