Skip to main content
Participant
March 30, 2009
Question

cfchart issues from 7 to 8

  • March 30, 2009
  • 1 reply
  • 607 views
For the past couple of months I have been working in a sandbox environment running cf7. I am working on a dashboard component for monitoring several file counts on various servers within the network.

I am displaying the data as a stacked chart. The data is called through a few invoke/component scripts.

The structure for the charts I am using is as follows...

Now, on CF7 this displays as two columns, with two bars stacked on top of each other with the correct values replacing the var#'s.

I moved the script to a new CF8 box, and the graph doesn't function as it did previously. No code changes have been made...on the CF8 box the two columns are still there, but there would be 4 bars stacked on each other, and both columns would have the same values.

Example:
var1 = 1
var2 = 2
var3 = 3
var4 = 4

CF7 Graph Output:
Column1 stacked with var1(1) and var2(2) with a total column value of 3.
Column2 stacked with var3(3) and var4(4) with a total column value of 7.

CF8 Graph Output:
Column1 stacked with var1(1), var2(2), var3(3), var(4) with a column value of 10.
Column1 stacked with var1(1), var2(2), var3(3), var(4) with a column value of 10.

Any ideas? The examples are pretty basic, but due to privacy policies I can't share the exact code...nothing really sensitive but that's just how it is.

Thanks in advance.
    This topic has been closed for replies.

    1 reply

    Inspiring
    March 31, 2009
    <cfchart etc...>
    <cfchartseries ...>

    what you have hidden behind ... there is likely important in your issue
    - post it all pls.

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/
    dg00Author
    Participant
    March 31, 2009
    I have removed the names of boxes/ip's for obvious reasons and replaced them with XXXX. Also, this is a bit sloppy of code because I'm just trying to get it working properly on cf8 (i.e. the randomly placed cfdumps) I'm a PHP coder but this project they required CF so that explains the sad attempt below...thanks for the help.
    dg00Author
    Participant
    April 1, 2009
    I've included an image to show exactly what is happening with the code. Some help would be greatly appreciated.
    Graph Image