Jump to content

vorlox

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by vorlox

  1. Are you using the output in a seperate file? Or are you trying to put the output between the rest of your code? Use it like <img src="graph.php"> and then in graph.php put something like <?php header("Content-type: image/png"); //Include phpMyGraph5.0.php include_once('phpMyGraph5.0.php'); //Set config directives $cfg['title'] = 'Example graph'; $cfg['width'] = 500; $cfg['height'] = 250; //Set data $data = array( 'Jan' => 12, 'Feb' => 25, 'Mar' => 0, 'Apr' => 7, 'May' => 80, 'Jun' => 67, 'Jul' => 45, 'Aug' => 66, 'Sep' => 23, 'Oct' => 23, 'Nov' => 78, 'Dec' => 23 ); //Create phpMyGraph instance $graph = new phpMyGraph(); //Parse $graph->parseHorizontalSimpleColumnGraph($data, $cfg); ?>
  2. Hi, I stumbled on this posting and was not aware of this bug in my graph class. The problem is now fixed in version 5.0.4 I also added my e-mail adres on the top of my phpMyGraph page, so next time send me a bugreport. Thanks for using my software and reporting the bug.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.