aliashippysmom
Programmer
Hi! Not sure how many of you have used CFCHART. I am trying to, but I have a problem. I would like every bar labeled in my HORIZONTAL bar graph. In order to do this, I must make the graph height larger than I would like. Here is my code:
Results:
Every other horizontal bar is labeled. Fooling around with graphheight finally allows all labels to be displayed, but then the bars are really thick. Any ideas?
Thanks in advance.
Code:
<cfchart
showborder="yes"
show3D = "no"
backgroundColor="silver"
foregroundcolor="blue"
chartwidth="400"
chartheight="200"
format="flash"
font="arial"
fontsize="8"
showXGridlines="yes"
showYGridlines="yes"
yAxisTitle="MYTITLE"
labelformat="percent"
scaleTo="1"
rotated="yes"
>
<cfchartseries type="horizontalbar" seriesLabel="test"
colorList = "##00ff6e,blue,red,##eeff33,purple,teal,green,olive">
<cfchartdata item="Choice1" value=".60">
<cfchartdata item="Choice2" value=".40">
<cfchartdata item="Choice3" value=".30">
<cfchartdata item="Choice4" value=".10">
<cfchartdata item="Choice5" value=".20">
<cfchartdata item="Choice6" value=".05">
<cfchartdata item="Choice7" value=".10">
<cfchartdata item="Choice8" value=".30">
<cfchartdata item="Choice9" value=".10">
</cfchartseries>
</cfchart>
Results:
Every other horizontal bar is labeled. Fooling around with graphheight finally allows all labels to be displayed, but then the bars are really thick. Any ideas?
Thanks in advance.