Here is the code (taken for the manual). I am using MAMP (Mac OS X Mt Lion). Ive set the path to 0775. It still outputs to regular http.
Any ideas?
<?php//Include the coderequire_once'phplot-6.0.0/phplot.php';//Define the object$plot=newPHPlot();//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));$plot->SetDataValues($example_data);//Turn off X axis ticks and labels because they get in the way:$plot->SetXTickLabelPos('none');$plot->SetXTickPos('none');//output to a file$plot->SetFileFormat('jpg');$plot->SetOutputFile('/Applications/MAMP/phpplotout/mygraph.jpg');//Draw it$plot->DrawGraph();?>
Last edit: wyattb 2013-05-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edit:
NEVER MIND :)
I didn't set this line.
Here is the code (taken for the manual). I am using MAMP (Mac OS X Mt Lion). Ive set the path to 0775. It still outputs to regular http.
Any ideas?
Last edit: wyattb 2013-05-10