2
include ("../jpgraph.php");
3
include ("../jpgraph_pie.php");
4
include ("../jpgraph_pie3d.php");
6
$data = array(40,60,21,33);
8
$graph = new PieGraph(300,200,"auto");
11
$graph->title->Set("A simple Pie plot");
12
$graph->title->SetFont(FF_FONT1,FS_BOLD);
14
$p1 = new PiePlot3D($data);
18
$p1->SetLegends($gDateLocale->GetShortMonth());