Hi, I am using cfchart to plot a graph. It pulls data from the database for the plot values. The value from the database columns is fed as the value for the attributes itemcolumn and valuecolumn. Since, it take the db values, the graph units for the x axis and y axis come as some float numbers. But I would like to have the units like some numbers divisble by 5 or 4 with no remainders. But I am not sure how to give the units(divisible by 4 or 5) for the x and y axis and still have the values from the database to the actual plot points. The chartseries type is scatter.
Below is a snippet of code. <cfchart format="jpg" seriesplacement="default" xaxistitle="Business Days" yaxistitle="Total Requests" title="Requests Log" font="Arial" gridlines=6 showXGridlines="yes" showYGridlines="yes" > <cfchartseries type="scatter" <!--- serieslabel="Total number of consults"---> query="sqlGetSummation" itemColumn="Business Days" valueColumn="Total Requests" seriescolor="##FF00FF" /> </cfchart> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331595 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm