I am simply trying to create a chart in CF that has a single bar and displays horizontally. Everything works great, except for the horizontal part. I can't get it to rotate. Here is the code :
<cfset thisExp = queryNew("current", "CF_SQL_INTEGER")>
<!--- add rows --->
<cfset newrow = queryaddrow(thisExp, 1)>
<!--- set values in cells --->
<cfset temp = querysetcell(thisExp, "current", "12435", 1)>
<cfset total = "22000">
<!--- Bar chart, from Query of Queries --->
<cfchart
rotated="yes"
scaleFrom=0
scaleTo=22000
foregroundcolor="##000066"
databackgroundcolor="##FFFFCC"
chartwidth="100"
>
<cfchartseries type="bar"
query="thisExp"
valuecolumn="current" />
</cfchart>
I'm sure it's something simple and stupid I am missing, but can anybody help me?
<cfset thisExp = queryNew("current", "CF_SQL_INTEGER")>
<!--- add rows --->
<cfset newrow = queryaddrow(thisExp, 1)>
<!--- set values in cells --->
<cfset temp = querysetcell(thisExp, "current", "12435", 1)>
<cfset total = "22000">
<!--- Bar chart, from Query of Queries --->
<cfchart
rotated="yes"
scaleFrom=0
scaleTo=22000
foregroundcolor="##000066"
databackgroundcolor="##FFFFCC"
chartwidth="100"
>
<cfchartseries type="bar"
query="thisExp"
valuecolumn="current" />
</cfchart>
I'm sure it's something simple and stupid I am missing, but can anybody help me?