Reply to topic
cfchart horizontal bar
2onboard


Joined: 30 Apr 2009
Posts: 14
Reply with quote
I thought this would be simple, but doesn't seem to work.
All I want is for my bar chart to be horizontal instead of vertical. So I added the rotate="yes" to the cfchart, but my bar still appears vertical. What do I do?

<cfoutput query="mileageTotal">
<cfchart format="flash"
font="arial"
fontsize="12"
fontbold="yes"
foregroundcolor="ffffff"
backgroundcolor="000000"
chartheight="100"
chartwidth="700"
rotated="yes"
scalefrom="0"
scaleto="238857">
<cfchartseries type="bar" colorlist="ff0000">
<cfchartdata item="#NumberFormat(totalMiles, '999,999')# Miles" value=#totalMiles#>
</cfchartseries>
</cfchart>
</cfoutput>
cfsearching


Joined: 27 Jul 2008
Posts: 29
Reply with quote
I am guessing you did not check the documentation ;-)

<cfchartseries type="horizontalbar" ..>
http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_c_07.html
cfchart horizontal bar
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic