House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFChart, CFChartSeries with ItemColumn and ValueColumn

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

CFChart, CFChartSeries with ItemColumn and ValueColumn

Hi, vidya yegnaraman 03/11/2010 11:21 AM

03/11/2010 11:21 AM
Author: vidya yegnaraman Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61023#331595 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>
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

July 31, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
         1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31