Skip to main content
November 29, 2010
Question

Problem with chart displaying data correctly

  • November 29, 2010
  • 1 reply
  • 487 views

I have created a bar chart that displays data for each day of the month. The majority of the time this chart displays the information corrrectly. However now and again the bars of the chart appear much larger than they should meaning that instead of showing 30 or 31 seperate bars it can only display half that amount due to the increased size of the bars. If you display the same chart again then the problem will often disappear.

I am using Coldfusion MX 7 version 7.0.2 Enterprise Edition. Ihave installed all the latest updates up to Cumulative Hot Fix 3.

    This topic has been closed for replies.

    1 reply

    Participant
    November 30, 2010

    Hi - any chance you could post the charting code? It sounds like some kind of a scaling issue, but would be hard to pin down without seeing what the attributes are set to. Also, I take it you've confirmed that data is being retrieved correctly every time, and it's definitely a problem with the chart element itself as opposed to what it's being passed?

    December 2, 2010

    Hi,,

    I have checked that the data being passed is correct and it seems to be. Chart code below.

    Thanks

    <cfchart chartwidth="700"
       chartheight="300"
       pieslicestyle="solid"
       show3d="no"
       showlegend="no"
       fontsize="12"
       xoffset="0.0"
             yoffset=".0">

    <cfchartseries type="bar"
       query="chartquery"
       serieslabel="Date_Accessed"
       valuecolumn="namecount"
                itemcolumn="date_created">
        </cfchart>