Bug #17454: graph problem
| From: | endeeuk at yahoo dot com | Date: | Mon, 27 May 2002 14:23:18 +0000 |
| Subject: | Bug #17454: graph problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8663@lists.php.net to get a copy of this message | ||
From: endeeuk@yahoo.com
Operating system: Linux
PHP version: 4.0CVS-2002-05-27
PHP Bug Type: *Graphics related
Bug description: graph problem
Hi , All
this is my first script:
test.php3
<?php
require "color.php3";
require "graph.php3";
require "Barchart.php3";
$white = new Color(255,255,255);
$blue = new Color(0,0,255);
$red = new Color(255,0,0);
$green = new Color(0,255,0);
$bar = new Barchart(500,500,$white);
$ar1 = array(12,13,16,2,5,10,0,1,2,8);
$ar2 = array(20,13,-1,2,23,11,1,3,4,9);
$ar3 = array(11,15,20,12,6,-10,28,30,10,0);
$bar->add_Array($ar1, $white);
$bar->add_Array($ar2, $green);
$bar->add_Array($ar3, $red);
$bar->printHTML();
?>
When I callinn test.php3 In that case it showed me a graph.
That second one is used this script :
main.php3 ?
....
<img src='test.php3'>
. In that case my browser was brozen.
What should I do ?
Please help me :
php version is 3.0.11
Gd is 1.3
--
Edit bug report at http://bugs.php.net/?id=17454&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17454&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17454&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17454&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17454&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17454&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17454&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17454&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17454&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17454&r=globals