Minggu, 10 Januari 2010

PHP : SEKOLAH

include_once("barmaker.php");
$b = new Bar();

$b->AddValue("Semester 1", array("4.0", "4000"));
$b->AddValue("Semester 2", array("3.5", "3000"));
$b->AddValue("Semester 3", array("3.7", "2750"));
$b->AddValue("Semester 4", array("3.9", "3500"));

$b->SetTitle("My school days");
$b-SetTitleColor(255, 0, 0); //red

$b->SetAxesColor(100, 100, 100);

$b->SetBGColor(255, 255, 255);

$b->Spit("jpg");


?>

Tidak ada komentar: