I needed to implement dynamic graph solution in PhP and got this wonderful article which serves my purpose.
I played with it as they told me to but did not get any output from the samples :'( I tried the installation test and its showing that everything is proper. But when i download the package and run any eg in that it shows.
I tried this bit of code here below
<?php //Include the code include("phplot/phplot.php"); //Define the object $graph =& new PHPlot(200,150); //Define some data $example_data = array( array('a',3), array('b',5), array('c',7), array('d',8), array('e',2), array('f',6), array('g',7) ); $graph->SetDataValues($example_data); $graph->SetXTickPos('none'); $graph->SetXTickLabelPos('none'); //Draw it $graph->DrawGraph(); ?>
The image cannot be displayed and the error message is not in text but written in image!! :-O
Any clues on how to proceed will be of greaa....at help.:)