2 require_once 'external_packages/phplot/phplot.php';
4 $plot = new PHPlot(400, 300);
7 array('', 100, 100, 200, 100),
8 array('', 150, 100, 150, 100),
10 $plot->SetImageBorderType('plain');
11 $plot->SetDataType('text-data');
12 $plot->SetDataValues($data);
13 $plot->SetPlotType('pie');
14 //$plot->SetShading( '5' )