Hi,
I am quite confused at the moment, as I have this simple code, which should display a bar graph, but instead I see nothing on the screen, just a blank white page!! Here's my code:
<cfquery name="countQ1agree" datasource="dynamic">
SELECT COUNT(results.Question1) AS RESPONSES, results.Question1
FROM results
IN '#application.dblocation#'
GROUP BY results.Question1
</cfquery>
<cfchart
name="Question1"
format="jpg"
yAxisTitle="Total number of Hits"
xAxisTitle="Response"
font="Arial"
gridlines=6
showXGridlines="yes"
showYGridlines="yes"
showborder="yes"
show3d="yes" >
<cfchartseries
type="bar"
query="countQ1agree"
valueColumn="RESPONSES"
itemColumn="Question1"
seriesColor="olive"
paintStyle="plain" />
</cfchart>
Is there any way I can get a bar chart to display the results for 3 different responses to a question? This doesn't seem to work.
Thanks alot
I am quite confused at the moment, as I have this simple code, which should display a bar graph, but instead I see nothing on the screen, just a blank white page!! Here's my code:
<cfquery name="countQ1agree" datasource="dynamic">
SELECT COUNT(results.Question1) AS RESPONSES, results.Question1
FROM results
IN '#application.dblocation#'
GROUP BY results.Question1
</cfquery>
<cfchart
name="Question1"
format="jpg"
yAxisTitle="Total number of Hits"
xAxisTitle="Response"
font="Arial"
gridlines=6
showXGridlines="yes"
showYGridlines="yes"
showborder="yes"
show3d="yes" >
<cfchartseries
type="bar"
query="countQ1agree"
valueColumn="RESPONSES"
itemColumn="Question1"
seriesColor="olive"
paintStyle="plain" />
</cfchart>
Is there any way I can get a bar chart to display the results for 3 different responses to a question? This doesn't seem to work.
Thanks alot