View Single Post
  #1   (View Single Post)  
Old 26th March 2009
cksraj cksraj is offline
Real Name: Crew Kasy Raj
Port Guard
 
Join Date: Mar 2009
Posts: 12
Post PHPLot installation issue - Not able to see graph

Hi all,

I have PHP Version 5.2.8 with GD extended. I have installed PHPlot-5.0.6(copied the files into directory called phplot)

gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

After installation I am trying to run very simple phplot script, but it is showing the following unexpected results. Please advice what could be wrong in my side!!!

<?
include("phplot/phplot.php");
$data = array(array('', 10), array('', 1));
$plot = new PHPlot();
$plot->SetDataValues($data);
$plot->SetTitle('First Test Plot');
$plot->DrawGraph();
?>

Last edited by Carpetsmoker; 26th March 2009 at 08:23 AM. Reason: Remove binary content, use attachments
Reply With Quote