Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/pie3dex2.php
include ("../jpgraph.php");
include ("../jpgraph_pie.php");
include ("../jpgraph_pie3d.php");

// Some data
$data = array(20,27,45,75,90);

// Create the Pie Graph.
$graph = new PieGraph(350,200,"auto");

// Set A title for the plot
$graph->title->Set("Example 2 3D Pie plot");

// Create 3D pie plot
$p1 = new PiePlot3d($data);

// Adjust projection angle

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

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




Return current item: Monyet