background image

 

// Adjust projection angle

$p1

->SetAngle(45);

// You can explode several slices by specifying the explode
// distance for some slices in an array

$p1

->

Explode

(

array

(50,0,0,40));

// As a shortcut you can easily explode one numbered slice with
// $p1->ExplodeSlice(3);

$p1

->value->SetFont(FF_ARIAL,FS_NORMAL,10);

$p1

->SetLegends(

array

(“Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”Jul”,”Aug”,”Sep”,”Oct”));

$graph

->Add(

$p1

);

$graph

->Stroke();

?>