这个是代码:
include ("jpgraph/src/jpgraph.php");
include ("jpgraph/src/jpgraph_line.php");
$graph = new Graph(400,300);
$graph->SetScale("textint");
$graph->img->SetMargin(30,30,80,10);
$graph->title->Set("Y A T");
$data=array(19 , 23 , 34 ,36, 50 , 60 , 65, 70 , 78);
$lineplot=new LinePlot($data);
$lineplot->SetColor("red");
$lineplot->SetLegend("TEMPTURE");
$graph->Add($lineplot);
$graph->Stroke();
?>
静静飞舞 于 2010-05-18 15:35:39发表:
将php,ini中的out_buffer选项设置成OFF