in reply to Re: Issues graphing multiple data sets on the same graph in GD::Graph
in thread Issues graphing multiple data sets on the same graph in GD::Graph

If anyone has any idea.......

If you only see one data set, it is most likely that you are missing the x-axis data. If you go look at the example I posted previously, the @data contains 3 array references. The first is the x-axis data, the following two are the actual plot data. So you are missing an arrayref somewhere. Sorry thats all I can see, because your code is not runnable by me, to test.

@date = ""; @totals = ""; ..... ........ @data = ( [@date], # this is the x-axis data [@totals], # first plot [@totals1] # this gives the second plot );

I'm not really a human, but I play one on earth. Cogito ergo sum a bum
  • Comment on Re^2: Issues graphing multiple data sets on the same graph in GD::Graph
  • Download Code

Replies are listed 'Best First'.
Re^3: Issues graphing multiple data sets on the same graph in GD::Graph
by SoaponaRope (Novice) on Nov 13, 2007 at 14:42 UTC
    Thanks for all the help. That's the big issue with running a program like this-I am a bit on my own with it. All your attempts certainly have been appreciated, though.