>Can you show a bit more code, specifically how you pass the XML to cfchart?

Hi Ray,

<cfchart format="png"
style="silver"
name=mychart (for saving to disk via cffile)
xaxistitle="Score out of #all.numquestions#"
gridlines=11
yaxistitle="Number of Players"
backgroundColor="ffffcc"
chartwidth="250"
chartheight=180
showborder="no"
showlegend="no"
showmarkers="No">

<cfchartseries type="bar"
colorlist="green"
seriescolor="green"
query="q"
paintstyle="shade"
itemcolumn="score"
valuecolumn="cnt" />
</cfchart>

Query Q is (score,cnt), int columns.

and silver.xml (in charting/styles) :

                <xAxis>
                        <labelStyle isHideOverlapped="false" 
orientation="vertical"/>
                        <labelFormat style="Pattern" pattern="##0"/>
                </xAxis>
                <yAxis scaleMin="0">
                        <titleStyle font="Arial-10-bold"/>
                        <labelFormat style="Pattern" pattern="##0"/>
                </yAxis>


Resultant chart example:  Am trying to get rid of the .0's:

http://www.funtrivia.com/trivia-quiz/Celebrities/Musicians-From-Louisiana-297040.html

Thanks 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319356
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to