2011-01-17 5 views

答えて

1

はい、several described in the manualです。あなただけのグラフを作成したい場合のために、多分に便利、厳密にPHPされていないが、多分Google Chart's Apiか何かsimilar

<?php 
// Create a blank image and add some text 
$im = imagecreatetruecolor(120, 20); 
$text_color = imagecolorallocate($im, 233, 14, 91); 
imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color); 

// Set the content type header - in this case image/jpeg 
header('Content-type: image/jpeg'); 

// Skip the filename parameter using NULL, then set the quality to 75% 
imagejpeg($im, NULL, 75); 

// Free up memory 
imagedestroy($im); 
?> 
0

:ここ

はJPEGを作成するためにimagejpegを使用する方法を記述したマニュアルからの例です君は。 2番目のリンクはイメージを作成せず、フラッシュチャートを作成しますが、イメージとして保存することができます。

+0

Flash chart is cool! – Fernando

関連する問題