I've solved the problem. The other question is: Is there away in which one can generate a given number of lines or bars dynamically because I tried the code attached but could not pick the other lines as in line 3 unless I write everything as in line 1.I'm trying to generate graphs using data from the database and the number of lines or bars should be identified by the number of fields one wants by simply entering a number that should be used by the variable $i .
GroupBarPlot(array($b1plot[0],$b1plot[1],$b1plot[2],$b1plot[3],$b1plot[4])); //$b1plot[$i]=($b1plot[$i],$b1plot[$i+1]); $gbplot=new GroupBarPlot(array($b1plot[$i])); J.Opere -----Original Message----- From: Johan Persson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 4:44 PM To: [EMAIL PROTECTED] Subject: Re: JpGraph Bug report Thanks for your mail. However, without the actual data I can't reproduce your problem. I suspect that you migt have one or more NULL values in the input data. Regards Johan > JpGraph Error: JpGraph Fatal Error: > You have unfortunately stumbled upon a bug in JpGraph. > It seems like the scale range is 0 [for y scale] > Please report Bug #01 to [EMAIL PROTECTED] and include the script that gave > this error. > This problem could potentially be caused by trying to use "illegal" values > in the input data arrays (like trying to send in strings or only NULL > values) which causes the autoscaling to fail. > > > > Please Respond > > > > J.Opere > > > > >
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php