RE: JpGraph Bug report

From: Date: Fri, 06 Sep 2002 06:40:02 +0000
Subject: RE: JpGraph Bug report
Groups: php.windows 
Request: Send a blank email to php-windows+get-15688@lists.php.net to get a copy of this message
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:johanp@aditus.nu] Sent: Wednesday, September 04, 2002 4:44 PM To: J.OPERE@CGIAR.ORG 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 jpgraph@aditus.nu 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 > > > > >

« previous php.windows (#15688) next »